Skip to main contentModule feds
Source use std::borrow::Cow; π use std::cmp::Ordering; π use std::collections::BTreeMap; π use std::fmt::Result as FmtResult; π use std::fmt::Write as _; π use std::num::NonZeroUsize; π use std::time::Duration; π use clap::ArgAction; π use clap::Args; π use clap::Subcommand; π use clap::ValueEnum; π use futures::StreamExt; π use ruma::OwnedEventId; π use ruma::OwnedRoomId; π use ruma::OwnedRoomOrAliasId; π use ruma::OwnedServerName; π use ruma::OwnedUserId; π use tuwunel_core::Err; π use tuwunel_core::Result; π use tuwunel_core::implement; π use tuwunel_core::utils::stream::ReadyExt; π use tuwunel_core::utils::string::markdown_cell; π use tuwunel_core::utils::string::plural; π use tuwunel_core::utils::time::Elapsed; π use tuwunel_service::federation::PeerBackoff; π use tuwunel_service::federation::feds::Fault; π use tuwunel_service::federation::feds::Opts; π use tuwunel_service::federation::feds::Outcome; π use tuwunel_service::federation::feds::Record; π use self::version::Field; π use crate::Context; π use crate::admin_command_dispatch; π
- event π
- head π
- ping π
- state π
- version π
- Prepared π
- SweepArgs π
- Resource governors shared by feds queries.
- FedsCommand π
- Run feds diagnostics against every participating server in a room.
- ListMode π
- Sort π
- Column ordering the detail listing.
- backoff_fault π
- Describes a peerβs backoff as a fault while it has not expired at
now. - count_results π
- fault_message π
- partition_backoffs π
- Splits the roomβs destinations into dispatchable origins and held origins.
- prepare π
- process π
- render_totals π
- retry_after π
- Computes the remaining delay before the peer becomes eligible.
- sorted π
- sorted_event_id_difference π
- write_cell π
- write_elapsed_cell π
- Writes the elapsed cell of a listing row.
- Backoffs π