From: Eagle[TM] Date: Fri, 21 Dec 2012 08:48:15 +0000 (+0100) Subject: increase IRC socket timeout to 300 to avoid rare cases of nick collision X-Git-Url: https://git.novaco.in/?p=electrum-server.git;a=commitdiff_plain;h=502feb04b3d12d776100c3de1aa07ac1c8716aeb increase IRC socket timeout to 300 to avoid rare cases of nick collision --- 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)