From b637e55f4aab9629975bdf26576773ae94aaf28c Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Mon, 28 Apr 2025 19:39:46 +0200 Subject: [PATCH] Remove the global read_timeout on the HTTP client The `connect_timeout` plus `timeout` are enough to handle general network issues --- crates/http/src/reqwest.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/http/src/reqwest.rs b/crates/http/src/reqwest.rs index b75d7fb07..561fb100f 100644 --- a/crates/http/src/reqwest.rs +++ b/crates/http/src/reqwest.rs @@ -98,7 +98,6 @@ pub fn client() -> reqwest::Client { .user_agent(USER_AGENT) .timeout(Duration::from_secs(60)) .connect_timeout(Duration::from_secs(30)) - .read_timeout(Duration::from_secs(30)) .build() .expect("failed to create HTTP client") }