Files
library/api
hikari f40f917bc5 feat: implement tiered rate limiting with admin bypass
Update rate limiting to be more lenient for authenticated users and bypass limits entirely for admin users:

- Unauthenticated users: 100 requests/minute (original limit)
- Authenticated users: 500 requests/minute (5x increase)
- Admin users: No rate limits (completely bypassed via allowList)

This allows the admin to interact with the library without restrictions whilst still protecting against abuse from unauthenticated users. Authenticated users get a much more generous limit for better user experience.

Uses @fastify/rate-limit's allowList and dynamic max options to implement the tiered system.
2026-02-20 18:35:21 -08:00
..
2026-02-03 10:09:37 -08:00
2026-02-04 08:04:46 -08:00
2026-02-03 10:09:37 -08:00
2026-02-04 12:17:05 -08:00
2026-02-03 10:09:37 -08:00
2026-02-03 10:09:37 -08:00