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

View file

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