Skip to content
Snippets Groups Projects
Commit 54cf6599 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

daemon.py: 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
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ class Mainloop(object):
try:
while not self.quit:
try:
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,):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment