forked from FoundKeyGang/FoundKey
server: lower rate limit for deletion activities
Changelog: Changed
This commit is contained in:
parent
95a9027a66
commit
151053897d
3 changed files with 9 additions and 6 deletions
|
@ -14,8 +14,9 @@ export const meta = {
|
|||
|
||||
limit: {
|
||||
duration: HOUR,
|
||||
max: 300,
|
||||
minInterval: SECOND,
|
||||
max: 30,
|
||||
minInterval: 10 * SECOND,
|
||||
key: 'delete',
|
||||
},
|
||||
|
||||
v2: {
|
||||
|
|
|
@ -13,8 +13,9 @@ export const meta = {
|
|||
|
||||
limit: {
|
||||
duration: HOUR,
|
||||
max: 60,
|
||||
minInterval: 3 * SECOND,
|
||||
max: 30,
|
||||
minInterval: 10 * SECOND,
|
||||
key: 'delete',
|
||||
},
|
||||
|
||||
errors: ['NO_SUCH_NOTE', 'NOT_REACTED'],
|
||||
|
|
|
@ -14,8 +14,9 @@ export const meta = {
|
|||
|
||||
limit: {
|
||||
duration: HOUR,
|
||||
max: 300,
|
||||
minInterval: SECOND,
|
||||
max: 30,
|
||||
minInterval: 10 * SECOND,
|
||||
key: 'delete',
|
||||
},
|
||||
|
||||
v2: {
|
||||
|
|
Loading…
Reference in a new issue