diff --git a/src/service/globals/mod.rs b/src/service/globals/mod.rs index bb823e2c394c81a91fb18ac866165eb9280b6cbd..cd3be08134a984c06b082693d557b8c833e11410 100644 --- a/src/service/globals/mod.rs +++ b/src/service/globals/mod.rs @@ -345,6 +345,7 @@ pub fn get_media_file(&self, key: &[u8]) -> PathBuf { 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));