move exponential backoff util to different submod

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2025-01-01 20:09:41 +00:00 committed by strawberry
parent 2259e2c82f
commit 7e4453620e
7 changed files with 39 additions and 33 deletions

View file

@ -6,7 +6,7 @@ use std::{
use conduwuit::{
debug, debug_error, debug_warn, implement, pdu, trace,
utils::math::continue_exponential_backoff_secs, warn, PduEvent,
utils::continue_exponential_backoff_secs, warn, PduEvent,
};
use futures::TryFutureExt;
use ruma::{

View file

@ -5,7 +5,7 @@ use std::{
};
use conduwuit::{
debug, implement, utils::math::continue_exponential_backoff_secs, Err, PduEvent, Result,
debug, implement, utils::continue_exponential_backoff_secs, Err, PduEvent, Result,
};
use ruma::{CanonicalJsonValue, EventId, OwnedEventId, RoomId, ServerName};