Make parallel tasks interruptible with Ctrl-C
The concurrent.futures backport doesn't play well with KeyboardInterrupt, so I'm using Thread and Queue instead. Since thread pooling would likely be a pain to implement, I've just removed `COMPOSE_MAX_WORKERS` for now. We'll implement it later if we decide we need it. Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
4ffae4a1ac
commit
4ba9d9dac2
5 changed files with 21 additions and 25 deletions
|
|
@ -1,5 +1,4 @@
|
|||
|
||||
DEFAULT_MAX_WORKERS = 20
|
||||
DEFAULT_TIMEOUT = 10
|
||||
LABEL_CONTAINER_NUMBER = 'com.docker.compose.container-number'
|
||||
LABEL_ONE_OFF = 'com.docker.compose.oneoff'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue