Skip to content

Commit

Permalink
lower the max delay
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikeW committed Nov 20, 2024
1 parent da225d5 commit 59a7b72
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/stream/src/executor/backfill/cdc/cdc_backfill.rs
Original file line number Diff line number Diff line change
Expand Up @@ -836,8 +836,7 @@ impl UpstreamBarriers {
fn get_backoff_strategy() -> impl Iterator<Item = Duration> {
const BASE_DELAY: Duration = Duration::from_secs(1);
const BACKOFF_FACTOR: u64 = 2;
const MAX_DELAY: Duration = Duration::from_secs(180);

const MAX_DELAY: Duration = Duration::from_secs(8);
ExponentialBackoff::from_millis(BASE_DELAY.as_millis() as u64)
.factor(BACKOFF_FACTOR)
.max_delay(MAX_DELAY)
Expand Down

0 comments on commit 59a7b72

Please sign in to comment.