Browse Source

Fix high cpu at startup

dave/xdcc
Dave Pedu 7 years ago
parent
commit
f04dbee02a
  1. 2
      pyircbot/irccore.py

2
pyircbot/irccore.py

@ -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"""

Loading…
Cancel
Save