projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abae034
)
limiter: fix bug that ignores the limit= argument
author
Brian Warner
<warner@allmydata.com>
Thu, 8 May 2008 01:35:53 +0000
(18:35 -0700)
committer
Brian Warner
<warner@allmydata.com>
Thu, 8 May 2008 01:35:53 +0000
(18:35 -0700)
src/allmydata/util/limiter.py
patch
|
blob
|
history
diff --git
a/src/allmydata/util/limiter.py
b/src/allmydata/util/limiter.py
index 62850bc4ec5ca68fe32cebfa9d2f3186b6477239..aaee2c7d0bdbdccba543d32a6fe6d2e96d049ebb 100644
(file)
--- 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