mirror of https://github.com/synctv-org/synctv
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
328 B
Rust
11 lines
328 B
Rust
|
4 weeks ago
|
use super::*;
|
||
|
|
|
||
|
|
pub static RATE_LIMIT_REDIS_FALLBACKS_TOTAL: std::sync::LazyLock<IntCounterVec> =
|
||
|
|
std::sync::LazyLock::new(|| {
|
||
|
|
int_counter_vec(
|
||
|
|
"rate_limit_redis_fallbacks_total",
|
||
|
|
"Total Redis errors that triggered in-memory rate limit fallback",
|
||
|
|
&["category"],
|
||
|
|
)
|
||
|
|
});
|