Fix the cargo hack check (#2013)

This commit is contained in:
Jerry Wang
2023-05-18 18:40:19 +00:00
committed by GitHub
parent b0eb7a24bc
commit 7208cdf795
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ async fn main() {
// setup connection pool
let pool = PgPoolOptions::new()
.max_connections(5)
.connect_timeout(Duration::from_secs(3))
.acquire_timeout(Duration::from_secs(3))
.connect(&db_connection_str)
.await
.expect("can't connect to database");