Skip to content

Commit

Permalink
fix: max_backoff to 20x
Browse files Browse the repository at this point in the history
  • Loading branch information
rvcas committed May 18, 2022
1 parent 5e3b39e commit bdf862a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sinks/gcp_pubsub/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ impl SinkProvider for WithUtils<Config> {
max_retries: DEFAULT_MAX_RETRIES,
backoff_unit: Duration::from_millis(DEFAULT_BACKOFF_DELAY),
backoff_factor: 2,
max_backoff: Duration::from_millis(DEFAULT_BACKOFF_DELAY * 2),
max_backoff: Duration::from_millis(DEFAULT_BACKOFF_DELAY * 20),
});

let utils = self.utils.clone();
Expand Down
2 changes: 1 addition & 1 deletion src/sinks/webhook/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl SinkProvider for WithUtils<Config> {
max_retries: DEFAULT_MAX_RETRIES,
backoff_unit: Duration::from_millis(DEFAULT_BACKOFF_DELAY),
backoff_factor: 2,
max_backoff: Duration::from_millis(DEFAULT_BACKOFF_DELAY * 2),
max_backoff: Duration::from_millis(DEFAULT_BACKOFF_DELAY * 20),
});

let utils = self.utils.clone();
Expand Down

0 comments on commit bdf862a

Please sign in to comment.