mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Merge branch 'devel' of https://github.com/andreyshestakov/ansible into andreyshestakov-devel
This commit is contained in:
commit
b9e743b478
2 changed files with 4 additions and 4 deletions
|
@ -196,7 +196,7 @@ class StrategyBase:
|
|||
self._cur_worker += 1
|
||||
if self._cur_worker >= len(self._workers):
|
||||
self._cur_worker = 0
|
||||
time.sleep(0.0001)
|
||||
time.sleep(0.01)
|
||||
if queued:
|
||||
break
|
||||
|
||||
|
@ -389,7 +389,7 @@ class StrategyBase:
|
|||
raise AnsibleError("unknown result message received: %s" % result[0])
|
||||
|
||||
except Queue.Empty:
|
||||
time.sleep(0.0001)
|
||||
time.sleep(0.01)
|
||||
|
||||
if one_pass:
|
||||
break
|
||||
|
@ -408,7 +408,7 @@ class StrategyBase:
|
|||
while self._pending_results > 0 and not self._tqm._terminated:
|
||||
results = self._process_pending_results(iterator)
|
||||
ret_results.extend(results)
|
||||
time.sleep(0.0001)
|
||||
time.sleep(0.01)
|
||||
display.debug("no more pending results, returning what we have")
|
||||
|
||||
return ret_results
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue