Commit 45991e47 authored by Nathan Fritz's avatar Nathan Fritz

scheduler no longer waits for the next event before exiting

parent b8f40eb8
......@@ -149,6 +149,8 @@ class Scheduler(object):
if wait <= 0.0:
newtask = self.addq.get(False)
else:
if wait >= 3.0:
wait = 3.0
newtask = self.addq.get(True, wait)
except queue.Empty:
cleanup = []
......
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