Skip to content

Commit

Permalink
Merge pull request #265 from intuitem/chore/remove-cookie-rate-limiter
Browse files Browse the repository at this point in the history
chore: remove cookie rate limiter
  • Loading branch information
ab-smith authored Apr 15, 2024
2 parents baa0dbb + db530f0 commit b2734f0
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ const limiter = new RetryAfterRateLimiter({
rates: {
IP: [10, 'h'], // IP address limiter
IPUA: [5, 'm'], // IP + User Agent limiter
cookie: {
// Cookie limiter
name: 'limiterid', // Unique cookie name for this limiter
secret: 'SECRETKEY-SERVER-ONLY', // Use $env/static/private
rate: [2, 'm'],
preflight: true // Require preflight call (see load function)
}
}
});

Expand Down

0 comments on commit b2734f0

Please sign in to comment.