Commit f93f5f4
committed
fix: use separate generous rate limiter for /info endpoint
The /info endpoint shared the session rate limiter (30s/req, burst 3)
which was far too aggressive for a public read-only page. Vercel
server-side rendering + metadata generation would hit the limit on
normal page loads, returning 429 and causing 503 errors.
New public_read_limit: 2s/req, burst 15 -- appropriate for a
read-only endpoint that serves donation campaign pages.1 parent 04d29ce commit f93f5f4
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
38 | 44 | | |
39 | 45 | | |
40 | 46 | | |
| |||
91 | 97 | | |
92 | 98 | | |
93 | 99 | | |
94 | | - | |
| 100 | + | |
95 | 101 | | |
96 | 102 | | |
97 | 103 | | |
| |||
0 commit comments