Skip to content

Commit 90a24ed

Browse files
committed
fix clippy
1 parent 677f419 commit 90a24ed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • aggregation_mode/proof_aggregator/src/backend

aggregation_mode/proof_aggregator/src/backend/retry.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use std::time::Duration;
88
/// Backoff algorithm:
99
/// - Starts with `delay = ETHEREUM_CALL_MIN_RETRY_DELAY`
1010
/// - After each transient failure, sleeps for `delay` and then updates it following the next formula:
11-
/// delay = min(delay * ETHEREUM_CALL_BACKOFF_FACTOR, ETHEREUM_CALL_MAX_RETRY_DELAY)
11+
/// delay = min(delay * ETHEREUM_CALL_BACKOFF_FACTOR, ETHEREUM_CALL_MAX_RETRY_DELAY)
1212
/// - Stops retrying when the number of attempts exceed the `ETHEREUM_CALL_MAX_RETRIES` constant
1313
///
1414
/// About the retries limit: In the current implementation `attempt` starts at 0 and we stop when
@@ -34,7 +34,7 @@ use std::time::Duration;
3434
/// 0.5 + 1 + 2 + 4 + 8 + 16 + 32 + 60 + 60 + 60 + 60
3535
/// = 303.5 seconds (~5m 3.5s),
3636
/// plus the execution time of each Ethereum call attempt.
37-
37+
///
3838
/// Minimum delay value (the one on first iteration)
3939
pub const ETHEREUM_CALL_MIN_RETRY_DELAY: u64 = 500; // milliseconds
4040

0 commit comments

Comments
 (0)