From: Brian Warner Date: Fri, 8 Feb 2008 00:10:13 +0000 (-0700) Subject: upload.EncryptAnUploadable: use 50KiB read chunks (instead of 50KB), to match the... X-Git-Tag: allmydata-tahoe-0.8.0~110 X-Git-Url: https://git.rkrishnan.org/components/%22news.html/?a=commitdiff_plain;h=b2d31f0a8aa67cd213b4198be5222e899f9dc244;p=tahoe-lafs%2Ftahoe-lafs.git upload.EncryptAnUploadable: use 50KiB read chunks (instead of 50KB), to match the chunksize requested by the upload helper --- diff --git a/src/allmydata/upload.py b/src/allmydata/upload.py index ac1613e9..3276f5ed 100644 --- a/src/allmydata/upload.py +++ b/src/allmydata/upload.py @@ -329,7 +329,7 @@ class EncryptAnUploadable: """This is a wrapper that takes an IUploadable and provides IEncryptedUploadable.""" implements(IEncryptedUploadable) - CHUNKSIZE = 50*1000 + CHUNKSIZE = 50*1024 def __init__(self, original): self.original = IUploadable(original)