projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f153daf
)
upload.py: add some notes: extensions are more like 419 than 1000 bytes
author
Brian Warner
<warner@allmydata.com>
Tue, 15 Apr 2008 18:14:58 +0000
(11:14 -0700)
committer
Brian Warner
<warner@allmydata.com>
Tue, 15 Apr 2008 18:14:58 +0000
(11:14 -0700)
src/allmydata/upload.py
patch
|
blob
|
history
diff --git
a/src/allmydata/upload.py
b/src/allmydata/upload.py
index 3e71ff89372860fb28b591a978ed03204235fa97..f52978ab72a495199568573205a37dae1c4c2c43 100644
(file)
--- 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,