From b2d31f0a8aa67cd213b4198be5222e899f9dc244 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 7 Feb 2008 17:10:13 -0700 Subject: [PATCH] upload.EncryptAnUploadable: use 50KiB read chunks (instead of 50KB), to match the chunksize requested by the upload helper --- src/allmydata/upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.45.2