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 19, 2025
1 parent 8627a17 commit a8b794f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
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: "128"
value: "64"

- name: SMPC__CLEAR_DB_BEFORE_INIT
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: "128"
value: "64"

- name: SMPC__CLEAR_DB_BEFORE_INIT
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: "128"
value: "64"

- name: SMPC__CLEAR_DB_BEFORE_INIT
value: "true"
Expand Down
6 changes: 3 additions & 3 deletions 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() >= 30 {
if all_ips.len() >= 4 {
break;
}
match resolver.lookup_ip(&host).await {
Expand Down Expand Up @@ -790,7 +790,7 @@ async fn server_main(config: Config) -> eyre::Result<()> {

// Increase S3 retries to 5
let static_resolver = StaticResolver::new(db_chunks_bucket_ips.await?);
let _http_client = HyperClientBuilder::new()
let http_client = HyperClientBuilder::new()
.crypto_mode(CryptoMode::Ring)
.build_with_resolver(static_resolver);

Expand All @@ -803,7 +803,7 @@ async fn server_main(config: Config) -> eyre::Result<()> {
// disable stalled stream protection to avoid panics during s3 import
.stalled_stream_protection(StalledStreamProtectionConfig::disabled())
.retry_config(retry_config)
// .http_client(http_client)
.http_client(http_client)
.build();

let s3_client = Arc::new(S3Client::from_conf(s3_config));
Expand Down

0 comments on commit a8b794f

Please sign in to comment.