Skip to content

Commit

Permalink
Merge pull request #23 from movementlabsxyz/imola-baku
Browse files Browse the repository at this point in the history
decrease
  • Loading branch information
0xPrimata authored Jul 30, 2024
2 parents 040cc6f + c2c0301 commit a76733d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { kv } from '@vercel/kv'
const ratelimit = new Ratelimit({
redis: kv,
// 5 requests from the same IP in 10 seconds
limiter: Ratelimit.slidingWindow(2, '30 s'),
limiter: Ratelimit.slidingWindow(3, '30 s'),
})

// Define which routes you want to rate limit
Expand Down

0 comments on commit a76733d

Please sign in to comment.