Commit ba67c9ff authored by segfault's avatar segfault

Reduce polling frequency while running APT command

parent d1d9feb6
......@@ -237,7 +237,7 @@ class ContainerManager(object):
if exit_code is not None:
break
handle_line(p.stderr.readline())
time.sleep(0.1)
time.sleep(0.2)
if exit_code is None:
raise ContainerError("Failed to run APT command '%s' (timeout %s)" % (' '.join(command), timeout))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment