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

This commit is contained in:
Brian Warner 2008-11-14 21:11:44 -07:00
parent 871d210acd
commit fc7cd23bd1

View 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)