Skip to content

Commit 3fa0a61

Browse files
committed
fix: lift anonymous generation cap
Keep the per-minute IP throttle in place so public usage can stay open without removing abuse protection.
1 parent d2edc93 commit 3fa0a61

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/components/ApplicationStarter.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,6 +1105,10 @@ function AnonymousGenerationLimitNotice({
11051105
return null
11061106
}
11071107

1108+
if (quota.limit >= 1_000_000) {
1109+
return null
1110+
}
1111+
11081112
return (
11091113
<div className="mt-3 text-xs leading-5 text-gray-500 dark:text-gray-400">
11101114
{quota.remaining > 0

src/utils/rateLimit.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export const RATE_LIMITS = {
178178
// Anonymous starter generations before login is required
179179
applicationStarterAnonymousDaily: {
180180
keyPrefix: 'application-starter-anon-day',
181-
limit: 5,
181+
limit: 1_000_000,
182182
windowMs: 24 * 60 * 60 * 1000,
183183
},
184184
// Builder remote loading: 30 requests/minute (generous for UX)

0 commit comments

Comments
 (0)