From 994abc561006f4ccaf174ef71404798715b86547 Mon Sep 17 00:00:00 2001 From: Nasr Date: Fri, 27 Sep 2024 12:15:17 -0400 Subject: [PATCH] try fix libp2p test --- crates/torii/libp2p/src/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/torii/libp2p/src/tests.rs b/crates/torii/libp2p/src/tests.rs index acb96518b8..b2cc99720f 100644 --- a/crates/torii/libp2p/src/tests.rs +++ b/crates/torii/libp2p/src/tests.rs @@ -552,7 +552,7 @@ mod test { let options = ::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");