Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🔒️ Update rate limit

Luke Vella119424e6ae6a
diff --git a/apps/web/src/pages/api/trpc/[trpc].ts b/apps/web/src/pages/api/trpc/[trpc].ts
index b21a2c655..4c42a6988 100644
--- a/apps/web/src/pages/api/trpc/[trpc].ts
+++ b/apps/web/src/pages/api/trpc/[trpc].ts
@@ -15,8 +15,7 @@ import { composeApiHandlers } from "@/utils/next";
const ratelimit = new Ratelimit({
redis: kv,
- // 5 requests from the same user in 10 seconds
- limiter: Ratelimit.slidingWindow(5, "10 s"),
+ limiter: Ratelimit.slidingWindow(5, "1 m"),
});
export const config = {