diff --git a/ansible_mitogen/process.py b/ansible_mitogen/process.py index 902829f7..de3560f7 100644 --- a/ansible_mitogen/process.py +++ b/ansible_mitogen/process.py @@ -274,7 +274,7 @@ class MuxProcess(object): ansible_mitogen.services.ContextService(self.router), ansible_mitogen.services.ModuleDepService(self.router), ], - size=getenv_int('MITOGEN_POOL_SIZE', default=16), + size=getenv_int('MITOGEN_POOL_SIZE', default=32), ) LOG.debug('Service pool configured: size=%d', self.pool.size) diff --git a/docs/ansible.rst b/docs/ansible.rst index b2fe1e82..86125d63 100644 --- a/docs/ansible.rst +++ b/docs/ansible.rst @@ -179,7 +179,7 @@ Noteworthy Differences practice, and light web searches failed to reveal many examples of them. * Ansible permits up to ``forks`` connections to be setup in parallel, whereas - in Mitogen this is handled by a fixed-size thread pool. Up to 16 connections + in Mitogen this is handled by a fixed-size thread pool. Up to 32 connections may be established in parallel by default, this can be modified by setting the ``MITOGEN_POOL_SIZE`` environment variable.