projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7682f6b
)
tests: raise the timeout on pollmixin from 100s to 1000s -- it looks like it may...
author
Zooko O'Whielacronx
<zooko@zooko.com>
Thu, 9 Jul 2009 04:47:29 +0000
(21:47 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Thu, 9 Jul 2009 04:47:29 +0000
(21:47 -0700)
src/allmydata/util/pollmixin.py
patch
|
blob
|
history
diff --git
a/src/allmydata/util/pollmixin.py
b/src/allmydata/util/pollmixin.py
index 7b15476f67b13d87ed4d6c33a7905cf8ef33cf99..2f3794999a45706ff36dd89947faffe71de53c87 100644
(file)
--- a/
src/allmydata/util/pollmixin.py
+++ b/
src/allmydata/util/pollmixin.py
@@
-11,7
+11,7
@@
class PollComplete(Exception):
class PollMixin:
_poll_should_ignore_these_errors = []
- def poll(self, check_f, pollinterval=0.01, timeout=100):
+ def poll(self, check_f, pollinterval=0.01, timeout=100
0
):
# Return a Deferred, then call check_f periodically until it returns
# True, at which point the Deferred will fire.. If check_f raises an
# exception, the Deferred will errback. If the check_f does not