Skip to main content

Module wake

Module wake 

Source

Re-exportsยง

use std::cmp::Reverse; ๐Ÿ”’
use std::time::Duration; ๐Ÿ”’
use std::time::SystemTime; ๐Ÿ”’
use ruma::OwnedServerName; ๐Ÿ”’
use tokio::time::Instant; ๐Ÿ”’
use tuwunel_core::Error; ๐Ÿ”’
use tuwunel_core::error; ๐Ÿ”’
use tuwunel_core::error; ๐Ÿ”’
use tuwunel_core::error::error_chain; ๐Ÿ”’
use tuwunel_core::implement; ๐Ÿ”’
use tuwunel_core::trace; ๐Ÿ”’
use tuwunel_core::utils::BoolExt; ๐Ÿ”’
use tuwunel_core::utils::exponential_backoff_remaining_secs; ๐Ÿ”’
use tuwunel_core::utils::rand::secs as rand_secs; ๐Ÿ”’
use tuwunel_core::utils::time::now_secs; ๐Ÿ”’
use tuwunel_core::warn; ๐Ÿ”’
use super::SendingFutures; ๐Ÿ”’
use super::TransactionStatus; ๐Ÿ”’
use super::TransactionStatuses; ๐Ÿ”’
use super::WakeQueue; ๐Ÿ”’
use crate::federation::ShouldAttempt; ๐Ÿ”’
use crate::sending::Destination; ๐Ÿ”’
use crate::sending::Msg; ๐Ÿ”’
use crate::sending::SendingEvent; ๐Ÿ”’
use crate::sending::Service; ๐Ÿ”’

Constantsยง

APPSERVICE_RETRY_BASE ๐Ÿ”’
APPSERVICE_RETRY_MAX_SECS ๐Ÿ”’
PUSH_FAILURE_STREAK ๐Ÿ”’
WAKE_OVERFLOW_DELAY ๐Ÿ”’

Functionsยง

appservice_delay ๐Ÿ”’
arm_appservice_wake ๐Ÿ”’
arm_park_wake ๐Ÿ”’
Wake a destination holding only parked rooms when its earliest park expires.
arm_wake ๐Ÿ”’
arm_wake_in ๐Ÿ”’
is_armed ๐Ÿ”’
park_deadline ๐Ÿ”’
record_push_failure ๐Ÿ”’
wake_deadline ๐Ÿ”’