mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 02:01:31 +00:00
limiter: fix bug that ignores the limit= argument
This commit is contained in:
parent
abae0345ad
commit
d76cf6f748
@ -9,7 +9,7 @@ class ConcurrencyLimiter:
|
||||
"""
|
||||
|
||||
def __init__(self, limit=10):
|
||||
self.limit = 10
|
||||
self.limit = limit
|
||||
self.pending = []
|
||||
self.active = 0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user