Skip to content

Commit

Permalink
refactor(pool_config): resolved closure issue
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay.s committed Nov 28, 2023
1 parent f962d6a commit 5fc7340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/storage_impl/src/database/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ pub async fn diesel_make_pg_pool(
.max_lifetime(
database
.max_lifetime
.map(|x| std::time::Duration::from_secs(x)),
.map(std::time::Duration::from_secs),
);

if test_transaction {
Expand Down

0 comments on commit 5fc7340

Please sign in to comment.