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:
Aanand Prasad 2015-07-20 14:03:44 +01:00
commit 4ba9d9dac2
5 changed files with 21 additions and 25 deletions

View file

@ -2,7 +2,6 @@ PyYAML==3.10
docker-py==1.3.0
dockerpty==0.3.4
docopt==0.6.1
futures==3.0.3
requests==2.6.1
six==1.7.3
texttable==0.8.2