Skip to content

Commit

Permalink
Extend request timeout to 3 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
SpriteOvO committed Nov 14, 2024
1 parent f0bfa81 commit 819dc4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub fn reqwest_client_with(
) -> anyhow::Result<reqwest::Client> {
configure(
reqwest::ClientBuilder::new()
.timeout(Duration::from_secs(30))
.timeout(Duration::from_secs(60) * 3)
.default_headers(HeaderMap::from_iter([(
header::USER_AGENT,
HeaderValue::from_str(&prop::user_agent(false)).unwrap(),
Expand Down

0 comments on commit 819dc4a

Please sign in to comment.