Skip to content

Commit

Permalink
8 resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
eaypek-tfh committed Jan 20, 2025
1 parent 42edc2a commit 0dd8b5e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 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:a8b794fe0923df37badc9f9118a3554971495697"
image: "ghcr.io/worldcoin/iris-mpc:6203a4aed7747d16cfcd78145babca81aa5f2c52"

environment: stage
replicaCount: 1
Expand Down
4 changes: 2 additions & 2 deletions deploy/stage/smpcv2-0-stage/values-iris-mpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ env:
value: "true"

- name: SMPC__DATABASE__LOAD_PARALLELISM
value: "8"
value: "1"

- name: SMPC__AWS__REGION
value: "eu-north-1"
Expand Down Expand Up @@ -78,7 +78,7 @@ env:
value: "even_odd_binary_output_16k"

- name: SMPC__LOAD_CHUNKS_PARALLELISM
value: "64"
value: "256"

- name: SMPC__CLEAR_DB_BEFORE_INIT
value: "true"
Expand Down
4 changes: 2 additions & 2 deletions deploy/stage/smpcv2-1-stage/values-iris-mpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ env:
value: "true"

- name: SMPC__DATABASE__LOAD_PARALLELISM
value: "8"
value: "1"

- name: SMPC__AWS__REGION
value: "eu-north-1"
Expand Down Expand Up @@ -78,7 +78,7 @@ env:
value: "even_odd_binary_output_16k"

- name: SMPC__LOAD_CHUNKS_PARALLELISM
value: "64"
value: "256"

- name: SMPC__CLEAR_DB_BEFORE_INIT
value: "true"
Expand Down
4 changes: 2 additions & 2 deletions deploy/stage/smpcv2-2-stage/values-iris-mpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ env:
value: "true"

- name: SMPC__DATABASE__LOAD_PARALLELISM
value: "8"
value: "1"

- name: SMPC__AWS__REGION
value: "eu-north-1"
Expand Down Expand Up @@ -78,7 +78,7 @@ env:
value: "even_odd_binary_output_16k"

- name: SMPC__LOAD_CHUNKS_PARALLELISM
value: "64"
value: "256"

- name: SMPC__CLEAR_DB_BEFORE_INIT
value: "true"
Expand Down
2 changes: 1 addition & 1 deletion iris-mpc/src/bin/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ async fn resolve_export_bucket_ips(host: String) -> eyre::Result<Vec<IpAddr>> {
let resolver = TokioAsyncResolver::tokio(ResolverConfig::default(), resolver_opts);
loop {
// Check if we've collected enough unique IPs
if all_ips.len() >= 4 {
if all_ips.len() >= 8 {
break;
}
match resolver.lookup_ip(&host).await {
Expand Down

0 comments on commit 0dd8b5e

Please sign in to comment.