limiter: fix bug that ignores the limit= argument

This commit is contained in:
Brian Warner 2008-05-07 18:35:53 -07:00
parent abae0345ad
commit d76cf6f748

View File

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