Skip to content

Commit

Permalink
Merge pull request #32 from wearefuturegov/feature/rate_limiting
Browse files Browse the repository at this point in the history
reduce rate limiting
  • Loading branch information
apricot13 authored May 1, 2024
2 parents 9a56545 + 480b5d9 commit 5f9c9de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ if (!isDevelopment) {

server.use(
rateLimit({
windowMs: 15 * 60 * 1000,
max: 100,
windowMs: 1 * 60 * 1000, // 1 minute
max: 1000, // limit each IP to 1000 requests per windowMs
})
)

Expand Down

0 comments on commit 5f9c9de

Please sign in to comment.