ControlClientLimits
How many persistent control-mode clients one server may hold.
Source and package
- Qualified name
-
libtmux::limits:: Control Client Limits - Module
- limits
- Package
- libtmux
- Source
- crates/libtmux/src/limits.rs
-
Description#
Kept separate from [
DispatchLimits]: a watcher may live for minutes, while an ordinary command should still get a short-lived client process.Examples#
use libtmux::ControlClientLimits;let limits = ControlClientLimits::default().max_clients(4);assert_eq!(limits.clients(), 4);
Members4#
Collections and queries1#
- clients method How many persistent clients may remain attached.
Other members3#
- acquire_timeout method Set how long a client waits for a place before reporting overload.
- DEFAULT_CLIENTS: usize constant How many persistent clients one server admits by default.
- max_clients method Set how many persistent clients may remain attached.