Revert "Flush the queued items in linear periodically"

This reverts commit d3418fd658.
This commit is contained in:
James Cammarata
2016-09-11 14:28:49 -05:00
parent 600915aa97
commit f5cff2ced5
2 changed files with 5 additions and 9 deletions

View File

@@ -181,7 +181,7 @@ class StrategyBase:
return False
passes = 1
while not self._tqm._terminated and passes < 3 and self._pending_results > 0:
while not self._tqm._terminated and passes < 3:
try:
task_result = self._final_q.get(timeout=timeout)
original_host = get_original_host(task_result._host)