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 a76986f
Showing 1 changed file with 2 additions and 3 deletions.
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 a76986f

Please sign in to comment.