mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-04-19 19:01:19 +00:00
Increase number of allowed requests
This commit is contained in:
parent
949004b0f3
commit
08033464c6
@ -36,7 +36,7 @@ const localRatelimit = {
|
||||
const ratelimit = process.env.NODE_ENV === 'production'
|
||||
? new Ratelimit({
|
||||
redis: kv,
|
||||
limiter: Ratelimit.slidingWindow(10, '10 s'),
|
||||
limiter: Ratelimit.slidingWindow(20, '10 s'),
|
||||
analytics: true,
|
||||
timeout: 1000,
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user