]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
limiter: fix bug that ignores the limit= argument
authorBrian Warner <warner@allmydata.com>
Thu, 8 May 2008 01:35:53 +0000 (18:35 -0700)
committerBrian Warner <warner@allmydata.com>
Thu, 8 May 2008 01:35:53 +0000 (18:35 -0700)
src/allmydata/util/limiter.py

index 62850bc4ec5ca68fe32cebfa9d2f3186b6477239..aaee2c7d0bdbdccba543d32a6fe6d2e96d049ebb 100644 (file)
@@ -9,7 +9,7 @@ class ConcurrencyLimiter:
     """
 
     def __init__(self, limit=10):
-        self.limit = 10
+        self.limit = limit
         self.pending = []
         self.active = 0