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

index ffabad46c0984fa42566507aa23749cab57dfdaa..7582749e138cb06392a78634c23866e94579eb67 100644 (file)
@@ -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)