mirror of
https://github.com/docker/compose.git
synced 2025-11-25 16:13:41 +01:00
Commands able to use this parallelisation are `stop`, `kill` and `rm`. We're using a backported function from python 3, to allow us to make the most of a pool of threads without having to write the low level code for managing this ourselves. A default value for number of threads is a low enough number so it shouldn't cause performance problems but if someone knows the capability of their system and wants to increase it, they can via an environment variable DEFAULT_MAX_WORKERS Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
10 lines
341 B
Python
10 lines
341 B
Python
|
|
DEFAULT_MAX_WORKERS = 5
|
|
DEFAULT_TIMEOUT = 10
|
|
LABEL_CONTAINER_NUMBER = 'com.docker.compose.container-number'
|
|
LABEL_ONE_OFF = 'com.docker.compose.oneoff'
|
|
LABEL_PROJECT = 'com.docker.compose.project'
|
|
LABEL_SERVICE = 'com.docker.compose.service'
|
|
LABEL_VERSION = 'com.docker.compose.version'
|
|
LABEL_CONFIG_HASH = 'com.docker.compose.config-hash'
|