]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
lower max_segsize for immutable files to 128KiB, to make download-progress smoother...
authorBrian Warner <warner@allmydata.com>
Sat, 8 Mar 2008 02:24:51 +0000 (19:24 -0700)
committerBrian Warner <warner@allmydata.com>
Sat, 8 Mar 2008 02:24:51 +0000 (19:24 -0700)
src/allmydata/client.py
src/allmydata/upload.py

index 3e5544a1be9c5651ea2c7ccbb22096d20121ce08..732d2074f214f70209fda0cf05ecea435b686e28 100644 (file)
@@ -46,7 +46,7 @@ class Client(node.Node, testutil.PollMixin):
     DEFAULT_ENCODING_PARAMETERS = {"k": 3,
                                    "happy": 7,
                                    "n": 10,
-                                   "max_segment_size": 1*MiB,
+                                   "max_segment_size": 128*KiB,
                                    }
 
     def __init__(self, basedir="."):
index 72a728f66111957c0de44a2a8166d14ab3d6c6c4..a44ecdb875fa3824451b8d077d2e7c64d3a78df3 100644 (file)
@@ -1030,7 +1030,7 @@ class AssistedUploader:
         return self._upload_status
 
 class BaseUploadable:
-    default_max_segment_size = 1*MiB # overridden by max_segment_size
+    default_max_segment_size = 128*KiB # overridden by max_segment_size
     default_encoding_param_k = 3 # overridden by encoding_parameters
     default_encoding_param_happy = 7
     default_encoding_param_n = 10