From 2013befda26235e74ff8576fd20d138bc7b36bd0 Mon Sep 17 00:00:00 2001 From: Radical Date: Thu, 10 Jul 2025 21:31:43 +0200 Subject: [PATCH] fix: try not setting timeouts --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index d0e22f9..12c1d81 100644 --- a/src/main.rs +++ b/src/main.rs @@ -64,8 +64,8 @@ async fn main() -> Result<(), Error> { // FIXME: Don't manually set max size and instead fix underlying connection issues let pool = Pool::builder(pool_config) .max_size(50) - .wait_timeout(Some(Duration::from_secs(5))) - .recycle_timeout(Some(Duration::from_secs(5))) + //.wait_timeout(Some(Duration::from_secs(5))) + //.recycle_timeout(Some(Duration::from_secs(5))) .build()?; let cache_pool = redis::Client::open(config.cache_database.url())?;