From 8e4aa3e1fb9f256e2b19f38cce7b713b320e2ddc Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Sun, 29 Apr 2007 23:51:15 -0700 Subject: [PATCH] raise the limit on block hashes and share hashes from 30 to 2**20 --- src/allmydata/interfaces.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/allmydata/interfaces.py b/src/allmydata/interfaces.py index 64918d4a..f6a14e22 100644 --- a/src/allmydata/interfaces.py +++ b/src/allmydata/interfaces.py @@ -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(): -- 2.45.2