mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 13:33:09 +00:00
remove size constraint on ShareData: large directories caused errors which triggered massive memory usage. See #379 for details
This commit is contained in:
parent
d82f90faaa
commit
1334a251ca
@ -16,8 +16,7 @@ URI = StringConstraint(300) # kind of arbitrary
|
|||||||
|
|
||||||
MAX_BUCKETS = 200 # per peer
|
MAX_BUCKETS = 200 # per peer
|
||||||
|
|
||||||
# MAX_SEGMENT_SIZE in encode.py is 1 MiB (this constraint allows k = 1)
|
ShareData = StringConstraint(None)
|
||||||
ShareData = StringConstraint(2**20)
|
|
||||||
URIExtensionData = StringConstraint(1000)
|
URIExtensionData = StringConstraint(1000)
|
||||||
Number = IntegerConstraint(8) # 2**(8*8) == 16EiB ~= 18e18 ~= 18 exabytes
|
Number = IntegerConstraint(8) # 2**(8*8) == 16EiB ~= 18e18 ~= 18 exabytes
|
||||||
Offset = Number
|
Offset = Number
|
||||||
|
Loading…
Reference in New Issue
Block a user