]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
upload.py: add some notes: extensions are more like 419 than 1000 bytes
authorBrian Warner <warner@allmydata.com>
Tue, 15 Apr 2008 18:14:58 +0000 (11:14 -0700)
committerBrian Warner <warner@allmydata.com>
Tue, 15 Apr 2008 18:14:58 +0000 (11:14 -0700)
src/allmydata/upload.py

index 3e71ff89372860fb28b591a978ed03204235fa97..f52978ab72a495199568573205a37dae1c4c2c43 100644 (file)
@@ -58,6 +58,8 @@ class UploadResults(Copyable, RemoteCopy):
 # the extension changes size, we can change EXTENSION_SIZE to
 # allocate a more accurate amount of space.
 EXTENSION_SIZE = 1000
+# TODO: actual extensions are closer to 419 bytes, so we can probably lower
+# this.
 
 class PeerTracker:
     def __init__(self, peerid, storage_server,