فهرست منبع

Reduce queue timeout

Signed-off-by: Aanand Prasad <[email protected]>
Aanand Prasad 9 سال پیش
والد
کامیت
be27e266da
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
 
         try:
-            event = results.get(timeout=1)
+            event = results.get(timeout=0.1)
         except Empty:
             continue
         # See https://github.com/docker/compose/issues/189