Skip to main content

Module suotar_endpoint_rate_limits

Module suotar_endpoint_rate_limits 

Source
Expand description

The last limiter state the worker reported per rate-limited Suotar endpoint. The worker keeps the live state in memory; this copy is only for the dashboard, which runs in another process. The breakers are in crate::suotar_circuit_breakers.

Structs§

SuotarEndpointRateLimit
One endpoint’s limiter as the worker last reported it.
SuotarEndpointRateLimitReport
What the worker reports for one endpoint; SuotarEndpointRateLimit without the report time.

Functions§

get_all
Every endpoint’s last reported limiter state, for the dashboard.
upsert
Replaces the endpoint’s reported limiter state.