Skip to content

Commit

Permalink
Use singletoon connection pool
Browse files Browse the repository at this point in the history
  • Loading branch information
ilitteri committed May 8, 2024
1 parent bbf452c commit b19825b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prover/prover_cli/src/commands/status/batch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async fn get_batches_data(
batches: Vec<L1BatchNumber>,
db_url: SensitiveUrl,
) -> anyhow::Result<Vec<BatchData>> {
let prover_connection_pool = ConnectionPool::<Prover>::builder(db_url, 200)
let prover_connection_pool = ConnectionPool::<Prover>::singleton(db_url)
.build()
.await
.context("failed to build a prover_connection_pool")?;
Expand Down

0 comments on commit b19825b

Please sign in to comment.