Skip to content
Snippets Groups Projects
Commit 9b7467d1 authored by Georgiy Lebedev's avatar Georgiy Lebedev Committed by Aleksandr Lyapunov
Browse files

lua: introduce `Ratelimit` class

Introduce a `Ratelimit` class equivalent to `src/lib/core/ratelimit.h` to
`log` module for internal usage: it acts as a wrapper around the log API.

In scope of #6539 we need to make critical log entries: add S_CRIT alias
for this purpose and a `log_crit` method to `Ratelimit`.

Needed for #6539

NO_CHANGELOG=internal
NO_DOC=internal
NO_TEST=internal
parent d3ad0edf
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment