From 2b25b7974c5b6251347429809b82e20f4d1abfc9 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Thu, 12 Nov 2015 17:21:17 -0500 Subject: [PATCH] Remove unnecessary sleep from result process --- lib/ansible/executor/process/result.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/executor/process/result.py b/lib/ansible/executor/process/result.py index b5f1929d95..2d13aa44cd 100644 --- a/lib/ansible/executor/process/result.py +++ b/lib/ansible/executor/process/result.py @@ -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