git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
67a76e6
)
print a less scary, more informative message when a share request times out
author
Forrest Voight
<forrest@forre.st>
Mon, 26 Nov 2012 23:57:22 +0000 (18:57 -0500)
committer
Forrest Voight
<forrest@forre.st>
Mon, 26 Nov 2012 23:57:22 +0000 (18:57 -0500)
p2pool/node.py
patch
|
blob
|
history
diff --git
a/p2pool/node.py
b/p2pool/node.py
index
a31dece
..
8e414c0
100644
(file)
--- a/
p2pool/node.py
+++ b/
p2pool/node.py
@@
-114,6
+114,9
@@
class P2PNode(p2p.Node):
self.node.tracker.get_nth_parent_hash(head, min(max(0, self.node.tracker.get_height_and_last(head)[0] - 1), 10)) for head in self.node.tracker.heads
))[:100],
)
+ except defer.TimeoutError:
+ print 'Share request timed out!'
+ continue
except:
log.err(None, 'in download_shares:')
continue