raise connection pooling idle timeout to 50 seconds
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
1e07f417ba
commit
2470fa91d8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue