Opened at 2013-11-27T21:02:48Z
#2118 new defect
Lower extension size
Reported by: | markberger | Owned by: | daira |
---|---|---|---|
Priority: | normal | Milestone: | undecided |
Component: | unknown | Version: | 1.10.0 |
Keywords: | Cc: | ||
Launchpad Bug: |
Description
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.
Note: See
TracTickets for help on using
tickets.