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:
d72094c
)
Bug fix: deque must be unbounded
author
Daira Hopwood
<daira@jacaranda.org>
Tue, 28 Apr 2015 18:28:29 +0000
(19:28 +0100)
committer
Daira Hopwood
<daira@jacaranda.org>
Tue, 28 Apr 2015 18:28:29 +0000
(19:28 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/frontends/drop_upload.py
patch
|
blob
|
history
diff --git
a/src/allmydata/frontends/drop_upload.py
b/src/allmydata/frontends/drop_upload.py
index 0dacb6925bd482bb204cf525735bc0b87e540e51..c92889f8ec1f4bd192b6b5f74053960e57eb19d6 100644
(file)
--- a/
src/allmydata/frontends/drop_upload.py
+++ b/
src/allmydata/frontends/drop_upload.py
@@
-23,7
+23,7
@@
class DropUploader(service.MultiService):
name = 'drop-upload'
def __init__(self, client, upload_dircap, local_dir_utf8, dbfile, inotify=None,
-
deque_max_len=100,
pending_delay=1.0):
+ pending_delay=1.0):
service.MultiService.__init__(self)
try:
local_dir_u = abspath_expanduser_unicode(local_dir_utf8.decode('utf-8'))
@@
-44,7
+44,7
@@
class DropUploader(service.MultiService):
self._local_dir = unicode(local_dir, 'UTF-8')
self._dbfile = dbfile
- self._upload_deque = deque(
maxlen=deque_max_len
)
+ self._upload_deque = deque()
self.is_upload_ready = False
if inotify is None: