]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
raise the limit on block hashes and share hashes from 30 to 2**20
authorZooko O'Whielacronx <zooko@zooko.com>
Mon, 30 Apr 2007 06:51:15 +0000 (23:51 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Mon, 30 Apr 2007 06:51:15 +0000 (23:51 -0700)
src/allmydata/interfaces.py

index 64918d4a9cd37bd7dbd6c294559777bd506b81fa..f6a14e229aa2072ee3a7a16dc37e66f1a2ce187a 100644 (file)
@@ -50,10 +50,10 @@ class RIBucketWriter(RemoteInterface):
         """
         return None
     
-    def put_block_hashes(blockhashes=ListOf(Hash)):
+    def put_block_hashes(blockhashes=ListOf(Hash, maxLength=2**20)):
         return None
         
-    def put_share_hashes(sharehashes=ListOf(TupleOf(int, Hash))):
+    def put_share_hashes(sharehashes=ListOf(TupleOf(int, Hash), maxLength=2**20)):
         return None
 
     def close():