From: Brian Warner Date: Thu, 8 May 2008 01:35:53 +0000 (-0700) Subject: limiter: fix bug that ignores the limit= argument X-Git-Tag: allmydata-tahoe-1.1.0~148 X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/nxhtml.html?a=commitdiff_plain;h=d76cf6f748a6dc3f8ee7bd8a9a0fcf9140046286;p=tahoe-lafs%2Ftahoe-lafs.git limiter: fix bug that ignores the limit= argument --- diff --git a/src/allmydata/util/limiter.py b/src/allmydata/util/limiter.py index 62850bc4..aaee2c7d 100644 --- a/src/allmydata/util/limiter.py +++ b/src/allmydata/util/limiter.py @@ -9,7 +9,7 @@ class ConcurrencyLimiter: """ def __init__(self, limit=10): - self.limit = 10 + self.limit = limit self.pending = [] self.active = 0