]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Bug fix: don't append filepath to upload deque twice
authorDavid Stainton <dstainton415@gmail.com>
Wed, 15 Apr 2015 18:19:56 +0000 (18:19 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Tue, 28 Apr 2015 18:28:34 +0000 (19:28 +0100)
src/allmydata/frontends/drop_upload.py

index c92889f8ec1f4bd192b6b5f74053960e57eb19d6..a553fe64ee57f2ef1b475497882953aab150e974 100644 (file)
@@ -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)