Commit 40a0bbbb authored by Julian Rother's avatar Julian Rother
Browse files

Quick fix scheduler in case the queue is empty

parent a6f89b6a
......@@ -23,6 +23,7 @@ def run_scheduler():
time.sleep(1) # UWSGI does weird things on startup
while True:
scheduler.run()
time.sleep(10)
def sched_func(delay, priority=0, firstdelay=None, args=[], kargs={}):
if firstdelay == None:
......
Supports Markdown
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