Skip to content
Snippets Groups Projects
Commit 7b15f85c authored by Jason Volk's avatar Jason Volk Committed by 🥺
Browse files

fix zealous client connection close (regression 809c9b44)


Signed-off-by: default avatarJason Volk <jason@zemos.net>
parent 7809f0a6
No related branches found
No related tags found
No related merge requests found
......@@ -498,7 +498,8 @@ fn reqwest_client_builder(config: &Config) -> Result<reqwest::ClientBuilder> {
let mut reqwest_client_builder = reqwest::Client::builder()
.trust_dns(true)
.pool_max_idle_per_host(0)
.pool_max_idle_per_host(1)
.pool_idle_timeout(Duration::from_secs(18))
.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