9 lines
181 B
Rust
9 lines
181 B
Rust
use backoff::ExponentialBackoff;
|
|
|
|
pub fn infinite() -> ExponentialBackoff {
|
|
ExponentialBackoff {
|
|
max_elapsed_time: None,
|
|
..ExponentialBackoff::default()
|
|
}
|
|
}
|