]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
limiter.py: fix stack blowout by inserting an eventual-send between _done and maybe_s...
authorBrian Warner <warner@allmydata.com>
Sat, 15 Nov 2008 04:11:44 +0000 (21:11 -0700)
committerBrian Warner <warner@allmydata.com>
Sat, 15 Nov 2008 04:11:44 +0000 (21:11 -0700)
src/allmydata/util/limiter.py

index d3222a7b41a24d9723ea74503dcd07d8fd50c697..241c1eb86d3f0522de144a6a2000d466ebb54fc4 100644 (file)
@@ -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)