summaryrefslogtreecommitdiffstats
path: root/module/Scheduler.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-11-05 18:45:26 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2010-11-05 18:45:26 +0100
commit9a9462fd3d0780d8376c8ebfd5027cad77b7a155 (patch)
tree9c5e97cbc26611363557ed26f41f35547e02fbc3 /module/Scheduler.py
parentscheduler optimization, SJOrg fix, better crypter limit (diff)
downloadpyload-9a9462fd3d0780d8376c8ebfd5027cad77b7a155.tar.xz
scheduler loop fix
Diffstat (limited to 'module/Scheduler.py')
-rw-r--r--module/Scheduler.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/Scheduler.py b/module/Scheduler.py
index 2a76bb071..f3dfa379e 100644
--- a/module/Scheduler.py
+++ b/module/Scheduler.py
@@ -77,6 +77,7 @@ class Scheduler():
j.start()
else:
self.queue.put((t, j))
+ break
class Job(Thread):
def __init__(self, time, call, args=[], kwargs={}, deferred=None):