From: Zooko O'Whielacronx Date: Mon, 30 Apr 2007 13:00:10 +0000 (-0700) Subject: raise the limit on the number of hashes when retrieving them, too X-Git-Tag: allmydata-tahoe-0.2.0~62 X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/install.html?a=commitdiff_plain;h=a61178f425a5d3f52cc91bfa99b65856aa3f3a8a;p=tahoe-lafs%2Ftahoe-lafs.git raise the limit on the number of hashes when retrieving them, too --- diff --git a/src/allmydata/interfaces.py b/src/allmydata/interfaces.py index f6a14e22..346019ab 100644 --- a/src/allmydata/interfaces.py +++ b/src/allmydata/interfaces.py @@ -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,