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/tahoe_css?a=commitdiff_plain;h=90c08cf9946e5fa9503a016172220431ce043894;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 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)