From f5668c75d9f588fca97ccef0890ee4f74f53f262 Mon Sep 17 00:00:00 2001 From: Rob Gordon Date: Mon, 23 Sep 2024 19:19:19 -0400 Subject: [PATCH 1/2] Adjust Ratelimit (#744) --- api/prompt/_shared.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/prompt/_shared.ts b/api/prompt/_shared.ts index a2f1f0b3..590b58bc 100644 --- a/api/prompt/_shared.ts +++ b/api/prompt/_shared.ts @@ -39,7 +39,7 @@ export async function handleRateLimit( redis: kv, limiter: isPro ? Ratelimit.slidingWindow(3, "1m") - : Ratelimit.fixedWindow(2, "30d"), + : Ratelimit.fixedWindow(0, "30d"), }); const rateLimitKey = isPro ? `pro_${customerId}` : `unauth_${ip}`; From ad59ea29024143b4541c474a7639f4c4929b7518 Mon Sep 17 00:00:00 2001 From: Rob Gordon Date: Mon, 23 Sep 2024 19:19:59 -0400 Subject: [PATCH 2/2] chore: fix version --- app/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/package.json b/app/package.json index 85d69432..00960e5f 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "app", - "version": "1.57.5", + "version": "1.57.6", "main": "module/module.js", "license": "MIT", "scripts": {