1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Remove unnecessary sleep from result process

This commit is contained in:
James Cammarata 2015-11-12 17:21:17 -05:00
parent 634e10e5b8
commit 2b25b7974c

View file

@ -77,7 +77,7 @@ class ResultProcess(multiprocessing.Process):
debug("got a result from worker %d: %s" % (self._cur_worker, result))
break
except queue.Empty:
time.sleep(0.01)
pass
if self._cur_worker == starting_point:
break