mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-18 18:56:28 +00:00
reduce MAX_SEGMENT_SIZE from 2MB to 1MB, to compensate for the large blocks that 3-of-10 produces
This commit is contained in:
parent
e2e3b19a37
commit
20c980d02b
@ -73,7 +73,7 @@ class Encoder(object):
|
||||
NEEDED_SHARES = 25
|
||||
SHARES_OF_HAPPINESS = 75
|
||||
TOTAL_SHARES = 100
|
||||
MAX_SEGMENT_SIZE = 2*MiB
|
||||
MAX_SEGMENT_SIZE = 1*MiB
|
||||
|
||||
def __init__(self, options={}):
|
||||
object.__init__(self)
|
||||
|
@ -14,7 +14,7 @@ FURL = StringConstraint(1000)
|
||||
StorageIndex = StringConstraint(32)
|
||||
URI = StringConstraint(300) # kind of arbitrary
|
||||
MAX_BUCKETS = 200 # per peer
|
||||
ShareData = StringConstraint(700000) # 2MB segment / k=3 = 670kB
|
||||
ShareData = StringConstraint(400000) # 1MB segment / k=3 = 334kB
|
||||
URIExtensionData = StringConstraint(1000)
|
||||
|
||||
class RIIntroducerClient(RemoteInterface):
|
||||
|
Loading…
Reference in New Issue
Block a user