Expand description
Global runtime settings.
The C reference exposes a single tunable, msgs_per_sec, accessed
through paired msgs_per_sec() / set_msgs_per_sec() functions.
The Rust port stores it in an AtomicU32 so the getter and setter
are wait-free and lock-free.
Constants§
- DEFAULT_
MSGS_ PER_ SEC - Default value for
msgs_per_sec.
Functions§
- msgs_
per_ sec - Return the current per-connection message-rate ceiling.
- set_
msgs_ per_ sec - Update the per-connection message-rate ceiling.