Remove the global read_timeout on the HTTP client

The `connect_timeout` plus `timeout` are enough to handle general
network issues
This commit is contained in:
Quentin Gliech
2025-04-28 19:39:46 +02:00
parent 10e1389bea
commit b637e55f4a

View File

@@ -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")
}