Skip to content

Commit

Permalink
chore: apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Anselme <anselmega@gmail.com>
  • Loading branch information
oetyng and grumbach authored Sep 13, 2021
1 parent 58e4540 commit 7b6d363
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,11 +245,11 @@ pub struct RetryConfig {
impl Default for RetryConfig {
fn default() -> Self {
Self {
initial_retry_interval: Duration::from_millis(200),
max_retry_interval: Duration::from_secs(10),
retry_delay_multiplier: 1.5,
retry_delay_rand_factor: 0.3,
retrying_max_elapsed_time: Duration::from_secs(30),
initial_retry_interval: DEFAULT_INITIAL_RETRY_INTERVAL,
max_retry_interval: DEFAULT_MAX_RETRY_INTERVAL,
retry_delay_multiplier: DEFAULT_RETRY_INTERVAL_MULTIPLIER,
retry_delay_rand_factor: DEFAULT_RETRY_DELAY_RAND_FACTOR,
retrying_max_elapsed_time: DEFAULT_RETRYING_MAX_ELAPSED_TIME,
}
}
}
Expand Down

0 comments on commit 7b6d363

Please sign in to comment.