Skip to content

Commit

Permalink
Wait 5 seconds instead of 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Jul 8, 2016
1 parent 917ad58 commit b9ab4ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fedmsg/consumers/ircbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ def __init__(self, channel, nickname, filters,
def startedConnecting(self, connector):
if self.ready:
# If we're joining 12 channels, join one of them first. Once
# joining, wait one second and start joining the second one. That
# one should trigger joining the third one...
# joining, wait five seconds and start joining the second one.
# That one should trigger joining the third one...
self.log.info("%s scheduling conn for next client" % self.nickname)
reactor.callLater(1, self.ready)
reactor.callLater(5, self.ready)
# Un set this so we don't trigger it again later on a reconnect...
self.ready = None

Expand Down

0 comments on commit b9ab4ff

Please sign in to comment.