From 90c08cf9946e5fa9503a016172220431ce043894 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 c92889f8..a553fe64 100644 --- a/src/allmydata/frontends/drop_upload.py +++ b/src/allmydata/frontends/drop_upload.py @@ -158,7 +158,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