mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
fix: tweak rate limiter parameters
This commit is contained in:
parent
cd629fabb9
commit
72e18ac7dd
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,8 @@ let profileRateLimiter = (req, res, next) => {
|
|||
|
||||
if (process.env.ENABLE_EXPERIMENTAL_RATE_LIMITER) {
|
||||
profileRateLimiter = rateLimit({
|
||||
windowMs: 1000,
|
||||
limit: 3,
|
||||
windowMs: 5000,
|
||||
limit: 20,
|
||||
standardHeaders: 'draft-7',
|
||||
legacyHeaders: false,
|
||||
handler: (req, res, next, options) => {
|
||||
|
|
Loading…
Reference in a new issue