From 25dbb68a85130960318feee8ab43db8a24b7f63c Mon Sep 17 00:00:00 2001 From: David Stainton Date: Wed, 15 Apr 2015 18:19:56 +0000 Subject: [PATCH] Bug fix: don't append filepath to upload deque twice --- src/allmydata/frontends/drop_upload.py | 1 - 1 file changed, 1 deletion(-) 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) -- 2.45.2