From: David Stainton Date: Wed, 15 Apr 2015 18:19:56 +0000 (+0000) Subject: Bug fix: don't append filepath to upload deque twice X-Git-Url: https://git.rkrishnan.org/%5B/frontends/%22file:/rgr-080307.php?a=commitdiff_plain;h=25dbb68a85130960318feee8ab43db8a24b7f63c;p=tahoe-lafs%2Ftahoe-lafs.git Bug fix: don't append filepath to upload deque twice --- diff --git a/src/allmydata/frontends/drop_upload.py b/src/allmydata/frontends/drop_upload.py index ffabad46..7582749e 100644 --- a/src/allmydata/frontends/drop_upload.py +++ b/src/allmydata/frontends/drop_upload.py @@ -106,7 +106,6 @@ class DropUploader(service.MultiService): self._stats_provider.count('drop_upload.files_queued', 1) if path not in self._pending: self._append_to_deque(self._process, path, events_mask) - self._pending.add(path) def _process(self, path, events_mask): d = defer.succeed(None)