Skip to content

Commit

Permalink
Update max_delay to 2 sec (#840)
Browse files Browse the repository at this point in the history
  • Loading branch information
zezhehh authored Oct 30, 2023
1 parent aeb2871 commit 67c9420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/providers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 67c9420

Please sign in to comment.