Commit Graph

9 Commits

Author SHA1 Message Date
Taras Kushnir
9048bcaa5a Add timeouts for channel selects 2026-01-23 16:59:37 +02:00
Taras Kushnir
727fbfa93e Preallocate map size 2025-12-22 12:47:18 +01:00
Taras Kushnir
a05a7563a9 Add cosmetic spot check for the most stupid bots 2025-10-16 13:06:29 +03:00
Taras Kushnir
57f788f667 Backfill stub puzzle access records 2025-10-13 14:17:24 +03:00
Taras Kushnir
f842dc97a4 Tag more service contexts 2025-09-13 09:15:10 +03:00
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