Expand description
Tracks server lifecycle state and its runtime handle.
The server coordinates reload, restart, and shutdown notifications. Shared services use its state to stop work promptly during teardown.
Re-exportsยง
use std::sync::Arc;๐use std::sync::atomic::AtomicBool;๐use std::sync::atomic::Ordering;๐use std::time::SystemTime;๐use ruma::OwnedServerName;๐use tokio::runtime;๐use tokio::sync::broadcast;๐pub use self::progress::Progress;use crate::Err;๐use crate::Result;๐use crate::config;๐use crate::config::Config;๐use crate::log::Logging;๐use crate::metrics::Metrics;๐
Modulesยง
- progress ๐
- Progress of a long startup phase, readable while it runs.
Structsยง
- Server
- Server runtime state; public portion