Skip to content

Commit 28676f3

Browse files
committed
Remove the global read_timeout on the HTTP client
The `connect_timeout` plus `timeout` are enough to handle general network issues
1 parent 2622de1 commit 28676f3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

crates/http/src/reqwest.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ pub fn client() -> reqwest::Client {
9898
.user_agent(USER_AGENT)
9999
.timeout(Duration::from_secs(60))
100100
.connect_timeout(Duration::from_secs(30))
101-
.read_timeout(Duration::from_secs(30))
102101
.build()
103102
.expect("failed to create HTTP client")
104103
}

0 commit comments

Comments
 (0)