From: Brian Warner Date: Sat, 12 Apr 2008 05:51:54 +0000 (-0700) Subject: remove size constraint on ShareData: large directories caused errors which triggered... X-Git-Url: https://git.rkrishnan.org/pf/content/en/statistics?a=commitdiff_plain;h=1334a251cae94213c6ed1f3cf141afcdfe5e7664;p=tahoe-lafs%2Ftahoe-lafs.git remove size constraint on ShareData: large directories caused errors which triggered massive memory usage. See #379 for details --- diff --git a/src/allmydata/interfaces.py b/src/allmydata/interfaces.py index 2c797e9b..fff146db 100644 --- a/src/allmydata/interfaces.py +++ b/src/allmydata/interfaces.py @@ -16,8 +16,7 @@ URI = StringConstraint(300) # kind of arbitrary MAX_BUCKETS = 200 # per peer -# MAX_SEGMENT_SIZE in encode.py is 1 MiB (this constraint allows k = 1) -ShareData = StringConstraint(2**20) +ShareData = StringConstraint(None) URIExtensionData = StringConstraint(1000) Number = IntegerConstraint(8) # 2**(8*8) == 16EiB ~= 18e18 ~= 18 exabytes Offset = Number