From 6ccccde9e09ec34164d65bb8ea0a7a0c5e0e5adc Mon Sep 17 00:00:00 2001 From: Itamar Turner-Trauring Date: Tue, 24 Jan 2023 13:15:55 -0500 Subject: [PATCH] Increase the max default segment size. --- src/allmydata/interfaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/interfaces.py b/src/allmydata/interfaces.py index f055a01e2..8f6a0c37a 100644 --- a/src/allmydata/interfaces.py +++ b/src/allmydata/interfaces.py @@ -41,7 +41,7 @@ URI = StringConstraint(300) # kind of arbitrary MAX_BUCKETS = 256 # per peer -- zfec offers at most 256 shares per file -DEFAULT_MAX_SEGMENT_SIZE = 128*1024 +DEFAULT_MAX_SEGMENT_SIZE = 1024*1024 ShareData = StringConstraint(None) URIExtensionData = StringConstraint(1000)