From 5dc76bf10d27aceaf57bda771c4470b4be461d17 Mon Sep 17 00:00:00 2001 From: Ertugrul Aypek Date: Sun, 12 Jan 2025 13:14:12 +0100 Subject: [PATCH] reduce max range size --- iris-mpc-store/src/s3_importer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iris-mpc-store/src/s3_importer.rs b/iris-mpc-store/src/s3_importer.rs index 59df6b017..a4b5622ed 100644 --- a/iris-mpc-store/src/s3_importer.rs +++ b/iris-mpc-store/src/s3_importer.rs @@ -19,7 +19,7 @@ const SINGLE_ELEMENT_SIZE: usize = IRIS_CODE_LENGTH * mem::size_of::() * 2 + MASK_CODE_LENGTH * mem::size_of::() * 2 + mem::size_of::(); // 75 KB -const MAX_RANGE_SIZE: usize = 200; // Download chunks in sub-chunks of 200 elements = 15 MB +const MAX_RANGE_SIZE: usize = 100; // Download chunks in sub-chunks of 100 elements = 7.5 MB pub struct S3StoredIris { #[allow(dead_code)]