git://git.novaco.in
/
p2pool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
retry RPC help and initial RPC getblock if they fail
[p2pool.git]
/
p2pool
/
util
/
deferral.py
diff --git
a/p2pool/util/deferral.py
b/p2pool/util/deferral.py
index
072d559
..
868649b
100644
(file)
--- a/
p2pool/util/deferral.py
+++ b/
p2pool/util/deferral.py
@@
-13,7
+13,7
@@
def sleep(t):
class RetrySilentlyException(Exception):
pass
-def retry(message, delay, max_retries=None):
+def retry(message='Error:', delay=3, max_retries=None):
'''
@retry('Error getting block:', 1)
@defer.inlineCallbacks