]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
raise the limit on the number of hashes when retrieving them, too
authorZooko O'Whielacronx <zooko@zooko.com>
Mon, 30 Apr 2007 13:00:10 +0000 (06:00 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Mon, 30 Apr 2007 13:00:10 +0000 (06:00 -0700)
src/allmydata/interfaces.py

index f6a14e229aa2072ee3a7a16dc37e66f1a2ce187a..346019ab863fe8e0dd6217f17e6f11dcc4effc6f 100644 (file)
@@ -71,9 +71,9 @@ class RIBucketReader(RemoteInterface):
         """
         return ShareData
     def get_block_hashes():
-        return ListOf(Hash)
+        return ListOf(Hash, maxLength=2**20)
     def get_share_hashes():
-        return ListOf(TupleOf(int, Hash))
+        return ListOf(TupleOf(int, Hash), maxLength=2**20)
 
 class RIStorageServer(RemoteInterface):
     def allocate_buckets(verifierid=Verifierid,