浏览代码

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