Files
kumomta/crates
Wez Furlong 3da38d986e throttle: serialize in string notation
Prior to exposing max_burst in the throttle string parser, we
couldn't guarantee to represent any arbitrary throttle as a string,
so we serialized as the underlying struct fields.

That's a bit unwieldy to read, so let's switch to the string
representation.

This commit makes the string repr infallible (previously it could fail
if you had specified max_burst), then tackles the fanout from that.

Apparently none of our snapshot tests include any of these throttles,
so I manually spot checked it with `kcli inspect-sched-q` to observe
the `max_message_rate`.
2025-01-29 10:57:18 -07:00
..
2024-12-07 09:17:54 -07:00
2024-12-07 09:17:54 -07:00
2025-01-24 15:11:03 -07:00
2024-12-07 09:17:54 -07:00
2024-12-07 09:17:54 -07:00
2024-12-07 09:17:54 -07:00
2024-12-07 09:17:54 -07:00
2024-12-07 09:17:54 -07:00
2024-12-07 09:17:54 -07:00
2024-12-07 09:17:54 -07:00
2024-12-07 09:17:54 -07:00
2024-11-13 13:50:27 -07:00