From fc7cd23bd190635191334c6e096e12c38f5bea42 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Fri, 14 Nov 2008 21:11:44 -0700 Subject: [PATCH] limiter.py: fix stack blowout by inserting an eventual-send between _done and maybe_start_task. This was causing failures during a 'tahoe manifest' of a large set of directories --- src/allmydata/util/limiter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/util/limiter.py b/src/allmydata/util/limiter.py index d3222a7b..241c1eb8 100644 --- 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) -- 2.45.2