Scheduler waits too longer, and pubsubstate registration was backwards
This commit is contained in:
committed by
Thom Nichols
parent
d76c0931ef
commit
ecf902bf16
@@ -49,7 +49,7 @@ class Scheduler(object):
|
||||
self.run = True
|
||||
while self.run:
|
||||
try:
|
||||
wait = 5
|
||||
wait = 1
|
||||
updated = False
|
||||
if self.schedule:
|
||||
wait = self.schedule[0].next - time.time()
|
||||
|
||||
Reference in New Issue
Block a user