Skip to content

Commit

Permalink
Maybe fix room joins
Browse files Browse the repository at this point in the history
This is a workaround for hyperium/hyper#2312
  • Loading branch information
timokoesters committed Jan 14, 2023
1 parent c6e3438 commit 809c9b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/service/globals/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit 809c9b4

Please sign in to comment.