From 2867c954948bc960474820c5cb451f645afa868c Mon Sep 17 00:00:00 2001 From: Matti Nannt Date: Wed, 2 Apr 2025 18:48:59 +0900 Subject: [PATCH] chore: update SHARE_RATE_LIMIT to 50 request per 5 minute (#5194) Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com> --- packages/lib/constants.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/lib/constants.ts b/packages/lib/constants.ts index 950701ad00..c2ca1ebb3c 100644 --- a/packages/lib/constants.ts +++ b/packages/lib/constants.ts @@ -174,8 +174,8 @@ export const MANAGEMENT_API_RATE_LIMIT = { }; export const SHARE_RATE_LIMIT = { - interval: 60 * 60, // 60 minutes - allowedPerInterval: 100, + interval: 60 * 1, // 1 minutes + allowedPerInterval: 30, }; export const FORGET_PASSWORD_RATE_LIMIT = { interval: 60 * 60, // 60 minutes