From 62499360b3ef4be085ddc772507215ae605877ee Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Tue, 28 Apr 2015 19:28:29 +0100 Subject: [PATCH] Bug fix: deque must be unbounded Signed-off-by: Daira Hopwood --- src/allmydata/frontends/drop_upload.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/allmydata/frontends/drop_upload.py b/src/allmydata/frontends/drop_upload.py index 0dacb692..c92889f8 100644 --- 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: -- 2.45.2