From 502feb04b3d12d776100c3de1aa07ac1c8716aeb Mon Sep 17 00:00:00 2001 From: Eagle[TM] Date: Fri, 21 Dec 2012 09:48:15 +0100 Subject: [PATCH] increase IRC socket timeout to 300 to avoid rare cases of nick collision --- backends/irc/__init__.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/backends/irc/__init__.py b/backends/irc/__init__.py index efdb6ad..e13c6c6 100644 --- a/backends/irc/__init__.py +++ b/backends/irc/__init__.py @@ -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) -- 1.7.1