server: lower rate limit for deletion activities

Changelog: Changed
This commit is contained in:
Johann150 2023-01-26 08:35:42 +01:00
parent 95a9027a66
commit 151053897d
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1
3 changed files with 9 additions and 6 deletions

View file

@ -14,8 +14,9 @@ export const meta = {
limit: {
duration: HOUR,
max: 300,
minInterval: SECOND,
max: 30,
minInterval: 10 * SECOND,
key: 'delete',
},
v2: {

View file

@ -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'],

View file

@ -14,8 +14,9 @@ export const meta = {
limit: {
duration: HOUR,
max: 300,
minInterval: SECOND,
max: 30,
minInterval: 10 * SECOND,
key: 'delete',
},
v2: {