mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
lower max_segsize for immutable files to 128KiB, to make download-progress smoother and improve alacrity. Closes #252. Note that mutable files continue to use 1MiB segments.
This commit is contained in:
parent
bd58f6f799
commit
567979ba85
@ -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="."):
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user