From: ThomasV Date: Mon, 28 Apr 2014 11:51:11 +0000 (+0200) Subject: increase delay between irc messages sent, to avoid flood X-Git-Url: https://git.novaco.in/?p=electrum-server.git;a=commitdiff_plain;h=a496f883b9d1ce78c3686097a386520e4364aa01 increase delay between irc messages sent, to avoid flood --- diff --git a/backends/irc/__init__.py b/backends/irc/__init__.py index 2e3d563..5511d8f 100644 --- a/backends/irc/__init__.py +++ b/backends/irc/__init__.py @@ -78,7 +78,7 @@ class IrcThread(threading.Thread): try: s = socket.socket() s.connect(('irc.freenode.net', 6667)) - s.settimeout(0.1) + s.settimeout(0.3) except: s.close() print_log("IRC: reconnect in 10 s")