From 67c94200631daee57797d211db85ef78ad9a5899 Mon Sep 17 00:00:00 2001 From: zzzzzh Date: Mon, 30 Oct 2023 08:55:57 +0100 Subject: [PATCH] Update max_delay to 2 sec (#840) --- src/config/providers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/providers.rs b/src/config/providers.rs index ff67de7e8a..d517140ab2 100644 --- a/src/config/providers.rs +++ b/src/config/providers.rs @@ -6,7 +6,7 @@ pub mod k8s; const RETRIES: u32 = 25; const BACKOFF_STEP: std::time::Duration = std::time::Duration::from_millis(250); -const MAX_DELAY: std::time::Duration = std::time::Duration::from_secs(60 * 5); +const MAX_DELAY: std::time::Duration = std::time::Duration::from_secs(2); /// The available xDS source providers. #[derive(Clone, Debug, clap::Subcommand)]