提交 c8b19215 编写于 作者: C Cleber Rosa

Revert "UI progress: set a 1 second cycle for a complete throbber iteration"

This reverts commit 10e6af662844a4c9df6994bfc7536f0413fbc82d.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 285d9aad
......@@ -182,8 +182,6 @@ class TestRunner(object):
args=(params, q,))
cycle_timeout = 0.01
ui_progress_cycle = 0.25
ui_progress_count = 0
time_started = time.time()
should_quit = False
test_state = None
......@@ -208,10 +206,7 @@ class TestRunner(object):
test_state = q.get(timeout=cycle_timeout)
except Queue.Empty:
if p.is_alive():
ui_progress_count += cycle_timeout
if ui_progress_count >= ui_progress_cycle:
self.job.result_proxy.throbber_progress()
ui_progress_count = 0
self.job.result_proxy.throbber_progress()
else:
should_quit = True
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册