]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - src/allmydata/immutable/downloader/segmentation.py
prepare for viz: improve DownloadStatus events
[tahoe-lafs/tahoe-lafs.git] / src / allmydata / immutable / downloader / segmentation.py
index 7c9f5cf65460ff6b7fe07b33dbce8dd492abf34c..84dddbe98fb5d6a3d30f72d363e96f51dfbed955 100644 (file)
@@ -123,6 +123,8 @@ class Segmentation:
         # the consumer might call our .pauseProducing() inside that write()
         # call, setting self._hungry=False
         self._read_ev.update(len(desired_data), 0, 0)
+        # note: filenode.DecryptingConsumer is responsible for calling
+        # _read_ev.update with how much decrypt_time was consumed
         self._maybe_fetch_next()
 
     def _retry_bad_segment(self, f):