git://git.novaco.in
/
electrum-server.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
add timeout for http sessions
[electrum-server.git]
/
processor.py
diff --git
a/processor.py
b/processor.py
index
5ba83ad
..
20fdbfd
100644
(file)
--- a/
processor.py
+++ b/
processor.py
@@
-170,6
+170,7
@@
class Session:
self.address = ''
self.name = ''
self.version = 'unknown'
+ self.time = time.time()
threading.Timer(2, self.info).start()
# Debugging method. Doesn't need to be threadsafe.