From ae4c665b282aa98eb9cee8106385b9bda94f67dc Mon Sep 17 00:00:00 2001 From: "phattaranun.a" Date: Mon, 25 May 2026 01:12:49 +0700 Subject: [PATCH] feat: enhance reqwest client configuration with pool idle timeout and TCP keepalive --- backend/src/storage/seaweed.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/src/storage/seaweed.rs b/backend/src/storage/seaweed.rs index ec98caf..5855333 100644 --- a/backend/src/storage/seaweed.rs +++ b/backend/src/storage/seaweed.rs @@ -33,6 +33,8 @@ impl SeaweedClient { filer_url: filer_url.into(), http: Client::builder() .timeout(std::time::Duration::from_secs(60)) + .pool_idle_timeout(std::time::Duration::from_secs(10)) + .tcp_keepalive(std::time::Duration::from_secs(5)) .build() .expect("reqwest client"), }