Skip to content

Commit a43480d

Browse files
committed
Increase API_RATE_LIMIT_PER_MIN_UNAUTHED
1 parent e85a072 commit a43480d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/api/src/helpers/endpoint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ const __rateLimitState: Map<string, { windowStart: number; count: number }> = ne
184184

185185
function getRateLimitConfig() {
186186
const authed = Number(process.env.API_RATE_LIMIT_PER_MIN_AUTHED ?? 120)
187-
const unAuthed = Number(process.env.API_RATE_LIMIT_PER_MIN_UNAUTHED ?? 30)
187+
const unAuthed = Number(process.env.API_RATE_LIMIT_PER_MIN_UNAUTHED ?? 120)
188188
return {authedLimit: authed, unAuthLimit: unAuthed}
189189
}
190190

0 commit comments

Comments
 (0)