feat: add jikan client observability, dedup, and stale-while-revalidate

This commit is contained in:
2026-05-20 17:03:54 +02:00
committed by Mikkel Elvers
parent 5482a40d47
commit 63ab13faa9
4 changed files with 315 additions and 43 deletions

View File

@@ -115,6 +115,7 @@ docker exec mal ./cmd/user <username> <password>
| `ENV` | _(empty)_ | Set to `production` to enable secure session cookies |
| `MIGRATIONS_DIR` | _(auto-discovered)_ | Optional explicit path to migration files |
| `PLAYBACK_PROXY_SECRET` | _(required)_ | HMAC secret for signed playback proxy tokens (min 32 chars) |
| `MAL_JIKAN_TRACE` | `false` | Log all Jikan cache/upstream timings when enabled |
## Testing