Explorar o código

Reduce queue timeout

Signed-off-by: Aanand Prasad <[email protected]>
Aanand Prasad %!s(int64=9) %!d(string=hai) anos
pai
achega
68b4ef6cf2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 
         try:
-            event = results.get(timeout=1)
+            event = results.get(timeout=0.1)
         except Empty:
             continue
         # See https://github.com/docker/compose/issues/189