]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
upload.EncryptAnUploadable: use 50KiB read chunks (instead of 50KB), to match the...
authorBrian Warner <warner@allmydata.com>
Fri, 8 Feb 2008 00:10:13 +0000 (17:10 -0700)
committerBrian Warner <warner@allmydata.com>
Fri, 8 Feb 2008 00:10:13 +0000 (17:10 -0700)
src/allmydata/upload.py

index ac1613e927c48c0f07df0239164f1c88b71e3d70..3276f5edf3cafc02df60fcfa0b71883abf8b284b 100644 (file)
@@ -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)