Skip to content

Commit

Permalink
64 par
Browse files Browse the repository at this point in the history
  • Loading branch information
eaypek-tfh committed Jan 23, 2025
1 parent 57edaa7 commit 2b964fd
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 11 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:dcc0ab9b31e3e0bcb3207b8a597c3e725336c6db"
image: "ghcr.io/worldcoin/iris-mpc:59eb7e90ffaa5c63d395c080ec09a6909efdc398"

environment: stage
replicaCount: 1
Expand Down
2 changes: 1 addition & 1 deletion deploy/stage/smpcv2-0-stage/values-iris-mpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ env:
value: "even_odd_binary_output_16k"

- name: SMPC__LOAD_CHUNKS_PARALLELISM
value: "32"
value: "64"

- name: SMPC__LOAD_CHUNKS_DEFAULT_CLIENT
value: "true"
Expand Down
2 changes: 1 addition & 1 deletion deploy/stage/smpcv2-1-stage/values-iris-mpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ env:
value: "even_odd_binary_output_16k"

- name: SMPC__LOAD_CHUNKS_PARALLELISM
value: "32"
value: "64"

- name: SMPC__LOAD_CHUNKS_DEFAULT_CLIENT
value: "true"
Expand Down
2 changes: 1 addition & 1 deletion deploy/stage/smpcv2-2-stage/values-iris-mpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ env:
value: "even_odd_binary_output_16k"

- name: SMPC__LOAD_CHUNKS_PARALLELISM
value: "32"
value: "64"

- name: SMPC__LOAD_CHUNKS_DEFAULT_CLIENT
value: "true"
Expand Down
7 changes: 0 additions & 7 deletions iris-mpc/src/bin/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ use std::{
mem,
net::IpAddr,
panic,
process::exit,
sync::{
atomic::{AtomicBool, AtomicUsize, Ordering},
Arc, LazyLock, Mutex,
Expand Down Expand Up @@ -1096,7 +1095,6 @@ async fn server_main(config: Config) -> eyre::Result<()> {
let load_chunks_parallelism = config.load_chunks_parallelism;
let db_chunks_bucket_name = config.db_chunks_bucket_name.clone();
let db_chunks_folder_name = config.db_chunks_folder_name.clone();
let env = config.environment.clone();

let (tx, rx) = oneshot::channel();
background_tasks.spawn_blocking(move || {
Expand Down Expand Up @@ -1310,11 +1308,6 @@ async fn server_main(config: Config) -> eyre::Result<()> {
time_loading_into_memory,
);

if env.eq("stage") {
tracing::info!("Test environment detected, exiting");
exit(0);
}

if !all_serial_ids.is_empty() {
tracing::error!("Not all serial_ids were loaded: {:?}", all_serial_ids);
return Err(eyre!(
Expand Down

0 comments on commit 2b964fd

Please sign in to comment.