Sleep longer

2 seconds is the closest thing to a recommendation I can find.
With 1 second we were hitting errors about changing targets too
often.

Change-Id: Ieb36d3c156bc9e2e36bd8bb85a438cdfed661046
This commit is contained in:
James E. Blair 2014-04-15 17:03:24 -07:00
parent 832d196be7
commit e75f59cdb6
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ except:
# irc-client-should-not-crash-on-failed
# ^ This is why pep8 is a bad idea.
irc.client.ServerConnection.buffer_class.errors = 'replace'
ANTI_FLOOD_SLEEP = 1
ANTI_FLOOD_SLEEP = 2
class UpdateInterface(object):