Skip to content

Commit

Permalink
try fix libp2p test
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Sep 27, 2024
1 parent c998428 commit 994abc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/torii/libp2p/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ mod test {
let options = <SqliteConnectOptions as std::str::FromStr>::from_str("")
.unwrap()
.create_if_missing(true);
let pool = SqlitePoolOptions::new().max_connections(5).connect_with(options).await.unwrap();
let pool = SqlitePoolOptions::new().min_connections(1).idle_timeout(None).max_lifetime(None).connect_with(options).await.unwrap();
sqlx::migrate!("../migrations").run(&pool).await.unwrap();

let sequencer = KatanaRunner::new().expect("Failed to create Katana sequencer");
Expand Down

0 comments on commit 994abc5

Please sign in to comment.