increase delay between irc messages sent, to avoid flood
authorThomasV <thomasv1@gmx.de>
Mon, 28 Apr 2014 11:51:11 +0000 (13:51 +0200)
committerThomasV <thomasv1@gmx.de>
Mon, 28 Apr 2014 11:51:11 +0000 (13:51 +0200)
backends/irc/__init__.py

index 2e3d563..5511d8f 100644 (file)
@@ -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")