Reduce spinning while waiting on queues

This commit is contained in:
James Cammarata 2015-11-12 14:40:56 -05:00
commit 13750f68ee
3 changed files with 3 additions and 6 deletions

View file

@ -239,9 +239,6 @@ class StrategyModule(StrategyBase):
self._blocked_hosts[host.get_name()] = True
self._queue_task(host, task, task_vars, play_context)
results = self._process_pending_results(iterator)
host_results.extend(results)
# if we're bypassing the host loop, break out now
if run_once:
break