Maybe fix room joins
This is a workaround for https://github.com/hyperium/hyper/issues/2312
This commit is contained in:
parent
c6e3438e76
commit
809c9b4481
1 changed files with 1 additions and 0 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue