move exponential backoff util to different submod
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -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::{
|
||||
|
||||
@@ -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};
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ use conduwuit::{
|
||||
debug, err, error,
|
||||
result::LogErr,
|
||||
trace,
|
||||
utils::{calculate_hash, math::continue_exponential_backoff_secs, ReadyExt},
|
||||
utils::{calculate_hash, continue_exponential_backoff_secs, ReadyExt},
|
||||
warn, Error, Result,
|
||||
};
|
||||
use futures::{
|
||||
|
||||
Reference in New Issue
Block a user