Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

use timeout: 1000 in rate limit

Steven Teyb1d2c5eecac2
diff --git a/apps/web/lib/upstash/ratelimit.ts b/apps/web/lib/upstash/ratelimit.ts
index 476a781f94..41d370ad78 100644
--- a/apps/web/lib/upstash/ratelimit.ts
+++ b/apps/web/lib/upstash/ratelimit.ts
@@ -16,5 +16,6 @@ export const ratelimit = (
limiter: Ratelimit.slidingWindow(requests, seconds),
analytics: true,
prefix: "dub",
+ timeout: 1000,
});
};