Commit Graph

4 Commits

Author SHA1 Message Date
Taras Kushnir
a0ce451d0f Switch to otter cache in leaky bucket manager 2025-08-23 19:48:24 +03:00
Taras Kushnir
cd907e071a Safeguard levels backfill 2025-08-15 17:48:11 +03:00
Taras Kushnir
bf0598c1a9 Make siteverify API more resilient for unauthorized access
- more aggressive caching of API keys and added cache warmup
- remove direct DB access in APIkey() middleware immediately
- decrease resources usage for test puzzles
- decrease cache collision possibility for cached solved puzzles
- cosmetic improvement in rate limiter and leaky bucket Updater logic
- move user limits check and API key backfill to a separate goroutine
2025-06-21 14:16:28 +03:00
Taras Kushnir
4951055189 Initial commit 2025-05-31 10:56:00 +03:00