diff --git a/libs/utils/src/backoff.rs b/libs/utils/src/backoff.rs index 94324ba30a..1d70e9b4c5 100644 --- a/libs/utils/src/backoff.rs +++ b/libs/utils/src/backoff.rs @@ -84,6 +84,7 @@ where /// for any other error type. Final failed attempt is logged with `{:?}`. /// /// Returns `None` if cancellation was noticed during backoff or the terminal result. +#[allow(clippy::too_many_arguments)] pub async fn retry_with_options( mut op: O, is_permanent: impl Fn(&E) -> bool,