Expand description
Global runtime settings.
A single tunable, msgs_per_sec, is exposed through paired
msgs_per_sec / set_msgs_per_sec functions. It is stored
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.