1
0

increase the rate limit for /api/i endpoint, preventing some 429 errors if multiple tabs reload simultaneously

This commit is contained in:
Hazelnoot
2025-02-01 23:56:41 -05:00
parent d0ddfca96f
commit bd716ed837
@@ -31,10 +31,12 @@ export const meta = {
},
},
// 3 calls per second
// up to 20 calls, then 1 per second.
// This handles bursty traffic when all tabs reload as a group
limit: {
duration: 1000,
max: 3,
max: 20,
dripSize: 1,
dripRate: 1000,
},
} as const;