Skip to content

Scheduling infrastructure for absolutely everyone.

Update rateLimit.ts (#20785)

Ronit Raj930165b6e87c
diff --git a/packages/lib/rateLimit.ts b/packages/lib/rateLimit.ts
index 5a2d5e49957..1c0944f03a0 100644
--- a/packages/lib/rateLimit.ts
+++ b/packages/lib/rateLimit.ts
@@ -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 = {