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:
871d210
)
limiter.py: fix stack blowout by inserting an eventual-send between _done and maybe_s...
author
Brian Warner
<warner@allmydata.com>
Sat, 15 Nov 2008 04:11:44 +0000
(21:11 -0700)
committer
Brian Warner
<warner@allmydata.com>
Sat, 15 Nov 2008 04:11:44 +0000
(21:11 -0700)
src/allmydata/util/limiter.py
patch
|
blob
|
history
diff --git
a/src/allmydata/util/limiter.py
b/src/allmydata/util/limiter.py
index d3222a7b41a24d9723ea74503dcd07d8fd50c697..241c1eb86d3f0522de144a6a2000d466ebb54fc4 100644
(file)
--- a/
src/allmydata/util/limiter.py
+++ b/
src/allmydata/util/limiter.py
@@
-37,4
+37,4
@@
class ConcurrencyLimiter:
def _done(self, res, done_d):
self.active -= 1
eventually(done_d.callback, res)
-
self.maybe_start_task(
)
+
eventually(self.maybe_start_task
)