From addbb1670cdb6e4ebf18f673229f4db39891f684 Mon Sep 17 00:00:00 2001 From: bubaimondalsch Date: Fri, 6 Dec 2024 09:24:01 +0530 Subject: [PATCH] fix read timeout --- src/tool_configuration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tool_configuration.rs b/src/tool_configuration.rs index c351ee91..6126b0ec 100644 --- a/src/tool_configuration.rs +++ b/src/tool_configuration.rs @@ -118,7 +118,7 @@ pub fn reqwest_client_from_auth_storage( .no_gzip() .pool_max_idle_per_host(20) .user_agent(APP_USER_AGENT) - .timeout(std::time::Duration::from_secs(timeout)) + .read_timeout(std::time::Duration::from_secs(timeout)) .build() .expect("failed to create client"), )