reduce backoff warning from infolog

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-12-30 21:26:38 +00:00 committed by strawberry
parent c5b94be5b8
commit 3ffe2cd56e

View file

@ -5,7 +5,7 @@ use std::{
};
use conduwuit::{
debug, debug_error, implement, info, pdu, trace,
debug, debug_error, debug_warn, implement, pdu, trace,
utils::math::continue_exponential_backoff_secs, warn, PduEvent,
};
use futures::TryFutureExt;
@ -83,7 +83,11 @@ pub(super) async fn fetch_and_handle_outliers<'a>(
time.elapsed(),
*tries,
) {
info!("Backing off from {next_id}");
debug_warn!(
tried = ?*tries,
elapsed = ?time.elapsed(),
"Backing off from {next_id}",
);
continue;
}
}