mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
loosen constraint on share data size
This commit is contained in:
parent
3eaa888a0e
commit
09ff5af99c
@ -15,7 +15,9 @@ StorageIndex = StringConstraint(16)
|
||||
URI = StringConstraint(300) # kind of arbitrary
|
||||
DirnodeURI = StringConstraint(300, regexp=r'^URI:DIR(-RO)?:pb://[a-z0-9]+@[^/]+/[^:]+:[a-z0-9]+$')
|
||||
MAX_BUCKETS = 200 # per peer
|
||||
ShareData = StringConstraint(400000) # 1MB segment / k=3 = 334kB
|
||||
|
||||
# MAX_SEGMENT_SIZE in encode.py is 1 MiB (this constraint allows k = 1)
|
||||
ShareData = StringConstraint(2**20)
|
||||
URIExtensionData = StringConstraint(1000)
|
||||
LeaseRenewSecret = Hash # used to protect bucket lease renewal requests
|
||||
LeaseCancelSecret = Hash # used to protect bucket lease cancellation requests
|
||||
|
Loading…
x
Reference in New Issue
Block a user