Skip to content

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

🔒️ Update participant add rate limit

Luke Vella4277fd090260
diff --git a/apps/web/src/trpc/routers/polls/participants.ts b/apps/web/src/trpc/routers/polls/participants.ts
index 88833e046..d1d080ddf 100644
--- a/apps/web/src/trpc/routers/polls/participants.ts
+++ b/apps/web/src/trpc/routers/polls/participants.ts
@@ -195,7 +195,7 @@ export const participants = router({
});
}),
add: publicProcedure
- .use(createRateLimitMiddleware("add_participant", 5, "1 m"))
+ .use(createRateLimitMiddleware("add_participant", 10, "1 h"))
.use(requireUserMiddleware)
.input(
z.object({