Преглед изворни кода

Reduce queue timeout

Signed-off-by: Aanand Prasad <[email protected]>
Aanand Prasad пре 9 година
родитељ
комит
68b4ef6cf2
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      compose/parallel.py

+ 1 - 1
compose/parallel.py

@@ -91,7 +91,7 @@ def parallel_execute_stream(objects, func, get_deps):
             yield event
             yield event
 
 
         try:
         try:
-            event = results.get(timeout=1)
+            event = results.get(timeout=0.1)
         except Empty:
         except Empty:
             continue
             continue
         # See https://github.com/docker/compose/issues/189
         # See https://github.com/docker/compose/issues/189