fix: recover the auth rate limiter from a poisoned mutex

try_acquire used .expect on lock(), so a single panic while holding either
limiter mutex would poison it and make every subsequent auth request re-panic
— one blip became a persistent auth outage. Recover the guard with
unwrap_or_else(|e| e.into_inner()) so the limiter keeps serving.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
MechaCat02
2026-07-11 14:02:54 +02:00
parent f5cb460aec
commit 4fe435cc76
4 changed files with 37 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "mangalord-frontend",
"version": "0.124.19",
"version": "0.124.20",
"private": true,
"type": "module",
"scripts": {