mirror of
https://forge.darkest.space/hyperhive/hyperhive.git
synced 2026-12-02 21:11:04 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
When the store answered that it holds no usable bearer, the cache was reset to its default, which forgot that the answer had just been asked for. Every request after that started its own bao login and read, one at a time (up to 5 s each), so anyone sending `Bearer <64 hex>` before Grafana's bearer exists queued Grafana's real requests behind those lookups, on a route with no rate limit because the responder was said to read the store at most once per TTL. Remember the answer for the TTL, as a stored bearer is, and deny without a lookup until it passes (`empty_until`). A bearer that arrives ends it. The "at most once per cache TTL" comments in swarm-victorialogs.nix and swarm-victoriametrics.nix now also say the failure case, one lookup per few seconds while the store does not answer. |
||
| .. | ||
| src | ||
| Cargo.toml | ||