Skip to content

Commit

Permalink
Bumped irc bot reconnect timer to 30 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
greghaynes committed Nov 14, 2009
1 parent 87fe239 commit 6e5eec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyscripts/IrcBot/ircbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self, serverinfo, clientinfo, msg_gw):
self.do_reconnect = True
self.reconnect_count = 0
def reconnect(self):
if self.reconnect_count >= 5:
if self.reconnect_count >= 30:
logging.error('Max recconect failures (5) occoured.')
else:
self.reconnect_count += 1
Expand Down

0 comments on commit 6e5eec3

Please sign in to comment.