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: {
|
limit: {
|
||||||
duration: HOUR,
|
duration: HOUR,
|
||||||
max: 300,
|
max: 30,
|
||||||
minInterval: SECOND,
|
minInterval: 10 * SECOND,
|
||||||
|
key: 'delete',
|
||||||
},
|
},
|
||||||
|
|
||||||
v2: {
|
v2: {
|
||||||
|
|
|
@ -13,8 +13,9 @@ export const meta = {
|
||||||
|
|
||||||
limit: {
|
limit: {
|
||||||
duration: HOUR,
|
duration: HOUR,
|
||||||
max: 60,
|
max: 30,
|
||||||
minInterval: 3 * SECOND,
|
minInterval: 10 * SECOND,
|
||||||
|
key: 'delete',
|
||||||
},
|
},
|
||||||
|
|
||||||
errors: ['NO_SUCH_NOTE', 'NOT_REACTED'],
|
errors: ['NO_SUCH_NOTE', 'NOT_REACTED'],
|
||||||
|
|
|
@ -14,8 +14,9 @@ export const meta = {
|
||||||
|
|
||||||
limit: {
|
limit: {
|
||||||
duration: HOUR,
|
duration: HOUR,
|
||||||
max: 300,
|
max: 30,
|
||||||
minInterval: SECOND,
|
minInterval: 10 * SECOND,
|
||||||
|
key: 'delete',
|
||||||
},
|
},
|
||||||
|
|
||||||
v2: {
|
v2: {
|
||||||
|
|
Loading…
Reference in a new issue