[tahoe-lafs-trac-stream] [tahoe-lafs] #2118: Lower extension size
tahoe-lafs
trac at tahoe-lafs.org
Wed Nov 27 21:02:48 UTC 2013
#2118: Lower extension size
------------------------+---------------------------
Reporter: markberger | Owner: daira
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: unknown | Version: 1.10.0
Keywords: | Launchpad Bug:
------------------------+---------------------------
In `immutable/upload.py`, there is the following comment:
{{{
# our current uri_extension is 846 bytes for small files, a few bytes
# more for larger ones (since the filesize is encoded in decimal in a
# few places). Ask for a little bit more just in case we need it. If
# 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.
}}}
As part of #1382, I am removing the TODO comment and creating a ticket to
take its place.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2118>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list