X-Git-Url: https://git.proxmox.com/?p=proxmox-backup.git;a=blobdiff_plain;f=src%2Fclient%2Fhttp_client.rs;h=76ab039158510829626b2508c9f35dae6e5dbc6f;hp=9fd1c013abe7b13d37679d0a07f2ba41d51bff26;hb=a941bbd0c9dfd2dd804780658f17c4f6e154efe2;hpb=21e3ed344942291e8db09d0159cff214331b2dad diff --git a/src/client/http_client.rs b/src/client/http_client.rs index 9fd1c013..76ab0391 100644 --- a/src/client/http_client.rs +++ b/src/client/http_client.rs @@ -30,8 +30,8 @@ use crate::tools::{ }; /// Timeout used for several HTTP operations that are expected to finish quickly but may block in -/// certain error conditions. -const HTTP_TIMEOUT: Duration = Duration::from_secs(20); +/// certain error conditions. Keep it generous, to avoid false-positive under high load. +const HTTP_TIMEOUT: Duration = Duration::from_secs(2 * 60); #[derive(Clone)] pub struct AuthInfo {