Maybe fix room joins

This is a workaround for https://github.com/hyperium/hyper/issues/2312
This commit is contained in:
Timo Kösters 2023-01-14 21:20:16 +01:00
parent c6e3438e76
commit 809c9b4481
No known key found for this signature in database
GPG Key ID: 24DA7517711A2BA4
1 changed files with 1 additions and 0 deletions

View File

@ -345,6 +345,7 @@ impl Service {
fn reqwest_client_builder(config: &Config) -> Result<reqwest::ClientBuilder> { fn reqwest_client_builder(config: &Config) -> Result<reqwest::ClientBuilder> {
let mut reqwest_client_builder = reqwest::Client::builder() let mut reqwest_client_builder = reqwest::Client::builder()
.pool_max_idle_per_host(0)
.connect_timeout(Duration::from_secs(30)) .connect_timeout(Duration::from_secs(30))
.timeout(Duration::from_secs(60 * 3)); .timeout(Duration::from_secs(60 * 3));