Browse code

Remove unnecessary sleep from result process

James Cammarata authored on 2015/11/13 07:21:17
Showing 1 changed files
... ...
@@ -77,7 +77,7 @@ class ResultProcess(multiprocessing.Process):
77 77
                     debug("got a result from worker %d: %s" % (self._cur_worker, result))
78 78
                     break
79 79
             except queue.Empty:
80
-                time.sleep(0.01)
80
+                pass
81 81
 
82 82
             if self._cur_worker == starting_point:
83 83
                 break