Skip to content

Commit

Permalink
fix: use read timeout, not global timeout (#1239)
Browse files Browse the repository at this point in the history
  • Loading branch information
SaulAverageman authored Dec 6, 2024
1 parent f9a8c7e commit b3f6bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tool_configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ pub fn reqwest_client_from_auth_storage(
.no_gzip()
.pool_max_idle_per_host(20)
.user_agent(APP_USER_AGENT)
.timeout(std::time::Duration::from_secs(timeout))
.read_timeout(std::time::Duration::from_secs(timeout))
.build()
.expect("failed to create client"),
)
Expand Down

0 comments on commit b3f6bd2

Please sign in to comment.