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
|
|
@ -44,12 +44,6 @@ the `docker` daemon.
|
|||
|
||||
Configures the path to the `ca.pem`, `cert.pem`, and `key.pem` files used for TLS verification. Defaults to `~/.docker`.
|
||||
|
||||
### COMPOSE\_MAX\_WORKERS
|
||||
|
||||
Configures the maximum number of worker threads to be used when executing
|
||||
commands in parallel. Only a subset of commands execute in parallel, `stop`,
|
||||
`kill` and `rm`.
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue