From: Brian Warner Date: Tue, 15 Apr 2008 18:14:58 +0000 (-0700) Subject: upload.py: add some notes: extensions are more like 419 than 1000 bytes X-Git-Url: https://git.rkrishnan.org/components/%22news.html//%22?a=commitdiff_plain;h=aebd80feec07e0729a012b2d7e36725dbd97b941;p=tahoe-lafs%2Ftahoe-lafs.git upload.py: add some notes: extensions are more like 419 than 1000 bytes --- diff --git a/src/allmydata/upload.py b/src/allmydata/upload.py index 3e71ff89..f52978ab 100644 --- a/src/allmydata/upload.py +++ b/src/allmydata/upload.py @@ -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,