Commit 54cf6599 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files Don't wake up every second

We don't have timers yet, hence waking up is not needed at all.

Reviewed-by: ultrotter
parent 1a05d855
......@@ -51,7 +51,7 @@ class Mainloop(object):
while not self.quit:
io_events = poller.poll(1000)
io_events = poller.poll()
except select.error, err:
# EINTR can happen when signals are sent
if err.args and err.args[0] in (errno.EINTR,):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment