Skip to content
Snippets Groups Projects
Commit 2470fa91 authored by 🥺's avatar 🥺 :transgender_flag: Committed by 🥺
Browse files

raise connection pooling idle timeout to 50 seconds

parent 1e07f417
No related branches found
No related tags found
No related merge requests found
......@@ -501,7 +501,7 @@ fn reqwest_client_builder(config: &Config) -> Result<reqwest::ClientBuilder> {
let mut reqwest_client_builder = reqwest::Client::builder()
.hickory_dns(true)
.pool_max_idle_per_host(1)
.pool_idle_timeout(Duration::from_secs(18))
.pool_idle_timeout(Duration::from_secs(50))
.connect_timeout(Duration::from_secs(60))
.timeout(Duration::from_secs(60 * 5))
.redirect(redirect_policy)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment