git://git.novaco.in
/
electrum-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
60289ce
)
increase delay between irc messages sent, to avoid flood
author
ThomasV
<thomasv1@gmx.de>
Mon, 28 Apr 2014 11:51:11 +0000 (13:51 +0200)
committer
ThomasV
<thomasv1@gmx.de>
Mon, 28 Apr 2014 11:51:11 +0000 (13:51 +0200)
backends/irc/__init__.py
patch
|
blob
|
history
diff --git
a/backends/irc/__init__.py
b/backends/irc/__init__.py
index
2e3d563
..
5511d8f
100644
(file)
--- 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")