Fix high cpu at startup

This commit is contained in:
Dave Pedu 2015-11-29 22:19:58 -08:00
parent d5adbdb9cd
commit f04dbee02a

View File

@ -476,7 +476,7 @@ class OutputQueueRunner(Thread):
except queue.Empty:
#self.log.debug("Queue is empty")
pass
sleep(0) # yield
sleep(0.01)
def process_queue_item(self):
"""Remove 1 item from queue and process it"""