feat: Upstash implementation for rate limiting/redis (#9514)
* Introduce rate limiting that works on the edge * typo * Log once on init * Update rateLimit.ts --------- Co-authored-by: zomars <[email protected]>
This commit is contained in:
1 parent
ed65b2a3ab
commit
8eccd3658e
9 files changed
+124
-44
No files matched your search
+4
-1
@@ -175,9 +175,9 @@
|
||||
"globalDependencies": ["yarn.lock"],
|
||||
"globalEnv": [
|
||||
"ANALYZE",
|
||||
"AUTH_BEARER_TOKEN_VERCEL",
|
||||
"API_KEY_PREFIX",
|
||||
"APP_USER_NAME",
|
||||
"AUTH_BEARER_TOKEN_VERCEL",
|
||||
"BUILD_ID",
|
||||
"CALCOM_LICENSE_KEY",
|
||||
"CALCOM_TELEMETRY_DISABLED",
|
||||
@@ -204,6 +204,7 @@
|
||||
"HUBSPOT_CLIENT_SECRET",
|
||||
"INTEGRATION_TEST_MODE",
|
||||
"INTERCOM_SECRET",
|
||||
"INTERCOM_SECRET",
|
||||
"IP_BANLIST",
|
||||
"LARK_OPEN_APP_ID",
|
||||
"LARK_OPEN_APP_SECRET",
|
||||
@@ -272,6 +273,8 @@
|
||||
"TWILIO_SID",
|
||||
"TWILIO_TOKEN",
|
||||
"TWILIO_VERIFY_SID",
|
||||
"UPSTASH_REDIS_REST_TOKEN",
|
||||
"UPSTASH_REDIS_REST_URL",
|
||||
"VERCEL_ENV",
|
||||
"VERCEL_URL",
|
||||
"VITAL_API_KEY",
|
||||
|
||||
Reference in new issue
Block a user