diff options
author | Nathan Fritz <nathan@andyet.net> | 2010-05-31 03:36:25 -0700 |
---|---|---|
committer | Nathan Fritz <nathan@andyet.net> | 2010-05-31 03:36:25 -0700 |
commit | 82a3918aa475dbd4abc8941b8c5601f61ab2e508 (patch) | |
tree | 4c6658ef2df5e48c66501fc75d10bede059ec43c /sleekxmpp/xmlstream/scheduler.py | |
parent | cff3079a04f9f12da5530c68d385d0c0f03af69e (diff) | |
download | slixmpp-82a3918aa475dbd4abc8941b8c5601f61ab2e508.tar.gz slixmpp-82a3918aa475dbd4abc8941b8c5601f61ab2e508.tar.bz2 slixmpp-82a3918aa475dbd4abc8941b8c5601f61ab2e508.tar.xz slixmpp-82a3918aa475dbd4abc8941b8c5601f61ab2e508.zip |
Scheduler waits too longer, and pubsubstate registration was backwards
Diffstat (limited to 'sleekxmpp/xmlstream/scheduler.py')
-rw-r--r-- | sleekxmpp/xmlstream/scheduler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/xmlstream/scheduler.py b/sleekxmpp/xmlstream/scheduler.py index 18d9229e..945d9fad 100644 --- a/sleekxmpp/xmlstream/scheduler.py +++ b/sleekxmpp/xmlstream/scheduler.py @@ -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() |