increase IRC socket timeout to 300 to avoid rare cases of nick collision
authorEagle[TM] <eagletm@mpex.net>
Fri, 21 Dec 2012 08:48:15 +0000 (09:48 +0100)
committerEagle[TM] <eagletm@mpex.net>
Fri, 21 Dec 2012 08:48:15 +0000 (09:48 +0100)
backends/irc/__init__.py

index efdb6ad..e13c6c6 100644 (file)
@@ -62,7 +62,7 @@ class IrcThread(threading.Thread):
             try:
                 s = socket.socket()
                 s.connect(('irc.freenode.net', 6667))
-                s.settimeout(260)
+                s.settimeout(300)
             except:
                 s.close()
                 time.sleep(10)