]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
interfaces: increase ShareSize now that our default k is smaller (hence blocks are...
authorBrian Warner <warner@lothar.com>
Sat, 14 Jul 2007 02:29:31 +0000 (19:29 -0700)
committerBrian Warner <warner@lothar.com>
Sat, 14 Jul 2007 02:29:31 +0000 (19:29 -0700)
src/allmydata/interfaces.py

index 979a4e32c45b11b4c6aab3c2bac40ccffd6a3653..5462d0015838eb7f0e54a18024e327b9a3065d82 100644 (file)
@@ -14,7 +14,7 @@ FURL = StringConstraint(1000)
 StorageIndex = StringConstraint(32)
 URI = StringConstraint(300) # kind of arbitrary
 MAX_BUCKETS = 200  # per peer
-ShareData = StringConstraint(100000) # 2MB segment / k=25
+ShareData = StringConstraint(700000) # 2MB segment / k=3 = 670kB
 URIExtensionData = StringConstraint(1000)
 
 class RIIntroducerClient(RemoteInterface):