Update rateLimit.ts (#20785)

This commit is contained in:
Ronit Raj authored and GitHub committed 2025-04-21 05:33:00 +00:00
1 parent a77bd7bbe0
commit 930165b6e8
1 file changed
+1 -1
+1 -1
View File
@@ -22,7 +22,7 @@ export function rateLimiter() {
const { UNKEY_ROOT_KEY } = process.env;
if (!UNKEY_ROOT_KEY) {
log.warn("Disabled due to not finding UNKEY_ROOT_KEY env variable");
log.warn("Disabled because the UNKEY_ROOT_KEY environment variable was not found.");
return () => ({ success: true, limit: 10, remaining: 999, reset: 0 } as RatelimitResponse);
}
const timeout = {