Skip to content

Commit

Permalink
reduce max range size
Browse files Browse the repository at this point in the history
  • Loading branch information
eaypek-tfh committed Jan 12, 2025
1 parent 8ed360b commit 5afaecc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/stage/common-values-iris-mpc.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: "ghcr.io/worldcoin/iris-mpc:0825d2d274ffaa5d96d44e950852f930adee8629"
image: "ghcr.io/worldcoin/iris-mpc:5dc76bf10d27aceaf57bda771c4470b4be461d17"

environment: stage
replicaCount: 1
Expand Down
2 changes: 1 addition & 1 deletion iris-mpc-store/src/s3_importer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const SINGLE_ELEMENT_SIZE: usize = IRIS_CODE_LENGTH * mem::size_of::<u16>() * 2
+ MASK_CODE_LENGTH * mem::size_of::<u16>() * 2
+ mem::size_of::<u32>(); // 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)]
Expand Down

0 comments on commit 5afaecc

Please sign in to comment.