projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d82f90f
)
remove size constraint on ShareData: large directories caused errors which triggered...
author
Brian Warner
<warner@allmydata.com>
Sat, 12 Apr 2008 05:51:54 +0000
(22:51 -0700)
committer
Brian Warner
<warner@allmydata.com>
Sat, 12 Apr 2008 05:51:54 +0000
(22:51 -0700)
src/allmydata/interfaces.py
patch
|
blob
|
history
diff --git
a/src/allmydata/interfaces.py
b/src/allmydata/interfaces.py
index 2c797e9b15c7d27402903b23babc1f1a3c07512a..fff146dbadd16473723b128f07560393c5b1bd72 100644
(file)
--- 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