From d76cf6f748a6dc3f8ee7bd8a9a0fcf9140046286 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Wed, 7 May 2008 18:35:53 -0700 Subject: [PATCH] limiter: fix bug that ignores the limit= argument --- 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 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 -- 2.45.2