Skip to content

Commit

Permalink
remove explicit drop(tx) and add more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
eaypek-tfh committed Jan 28, 2025
1 parent 160502c commit 0022cb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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:8aa66a2e741021ab0424c5fb64a6d62d224fea72"
image: "ghcr.io/worldcoin/iris-mpc:a76986f433af1327232a946766a9e1467048cf4a"

environment: stage
replicaCount: 1
Expand Down
5 changes: 2 additions & 3 deletions iris-mpc-store/src/s3_importer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,13 +281,12 @@ pub async fn fetch_and_parse_chunks(
}));
}

drop(tx);

tracing::info!("All s3 import tasks are spawned. Waiting for them to finish");
// Wait for remaining handles
for handle in handles {
handle.await??;
}

tracing::info!("All s3 import tasks are finished.");
Ok(())
}

Expand Down

0 comments on commit 0022cb3

Please sign in to comment.