mirror of
https://github.com/docker/compose.git
synced 2025-07-21 04:34:38 +02:00
Rename max workers env var and fix docs
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
35aef1aee0
commit
f03dec766d
@ -15,7 +15,7 @@ def parallel_execute(command, containers, doing_msg, done_msg, **options):
|
|||||||
"""
|
"""
|
||||||
Execute a given command upon a list of containers in parallel.
|
Execute a given command upon a list of containers in parallel.
|
||||||
"""
|
"""
|
||||||
max_workers = os.environ.get('MAX_WORKERS', DEFAULT_MAX_WORKERS)
|
max_workers = os.environ.get('COMPOSE_MAX_WORKERS', DEFAULT_MAX_WORKERS)
|
||||||
|
|
||||||
def container_command_execute(container, command, **options):
|
def container_command_execute(container, command, **options):
|
||||||
log.info("{} {}...".format(doing_msg, container.name))
|
log.info("{} {}...".format(doing_msg, container.name))
|
||||||
|
@ -193,7 +193,7 @@ the daemon.
|
|||||||
|
|
||||||
Configures the path to the `ca.pem`, `cert.pem`, and `key.pem` files used for TLS verification. Defaults to `~/.docker`.
|
Configures the path to the `ca.pem`, `cert.pem`, and `key.pem` files used for TLS verification. Defaults to `~/.docker`.
|
||||||
|
|
||||||
### DEFAULT\_MAX\_WORKERS
|
### COMPOSE\_MAX\_WORKERS
|
||||||
|
|
||||||
Configures the maximum number of worker threads to be used when executing
|
Configures the maximum number of worker threads to be used when executing
|
||||||
commands in parallel. Only a subset of commands execute in parallel, `stop`,
|
commands in parallel. Only a subset of commands execute in parallel, `stop`,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user