Fix: Update daily search rate limit to 15

This commit is contained in:
2026-02-14 19:03:52 -08:00
parent 43ff666933
commit 509a1d7269

View File

@@ -44,7 +44,7 @@ export async function onRequest(context) {
const rateList = await env.DIRECT_IMG_RATE.list({ prefix: ratePrefix });
const count = rateList.keys.length;
if (count >= 25) {
if (count >= 15) {
context.waitUntil(notify(env, {
title: "Rate Limit Hit",
message: `IP ${ip} reached limit for: ${query}`,