increase api rate limiter to 500 requests per day

This commit is contained in:
Amruth Pillai
2026-01-20 20:24:50 +01:00
parent 5688c97ee0
commit d874ea4f83
+8 -1
View File
@@ -171,7 +171,14 @@ const getAuthConfig = () => {
},
plugins: [
apiKey(),
apiKey({
enableSessionForAPIKeys: true,
rateLimit: {
enabled: true,
timeWindow: 1000 * 60 * 60 * 24, // 1 day
maxRequests: 500, // 500 requests per day
},
}),
username({
minUsernameLength: 3,
maxUsernameLength: 64,