git://git.novaco.in
/
electrum-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e16fd4a
)
pull req by EagleTM (retyped manually)
author
ThomasV
<thomasv@gitorious>
Thu, 29 Nov 2012 09:53:03 +0000 (13:53 +0400)
committer
ThomasV
<thomasv@gitorious>
Thu, 29 Nov 2012 09:53:03 +0000 (13:53 +0400)
backends/irc/__init__.py
patch
|
blob
|
history
diff --git
a/backends/irc/__init__.py
b/backends/irc/__init__.py
index
46ec921
..
efdb6ad
100644
(file)
--- a/
backends/irc/__init__.py
+++ b/
backends/irc/__init__.py
@@
-62,7
+62,9
@@
class IrcThread(threading.Thread):
try:
s = socket.socket()
s.connect(('irc.freenode.net', 6667))
+ s.settimeout(260)
except:
+ s.close()
time.sleep(10)
continue