tweak the rate limit for notes/create
while fixing #467 #468, we changed the rate limit from 300/hour to 5/minute some people felt it was too low: they often boost notes in quick succession so here's a different approach: back to 300/hour, but not more than 1/second; this is the same settings that `notes/delete` has, BTW
This commit is contained in:
parent
8f3549b494
commit
5c311e8a28
@ -30,8 +30,9 @@ export const meta = {
|
|||||||
prohibitMoved: true,
|
prohibitMoved: true,
|
||||||
|
|
||||||
limit: {
|
limit: {
|
||||||
duration: ms('1minute'),
|
duration: ms('1hour'),
|
||||||
max: 5,
|
max: 300,
|
||||||
|
minInterval: ms('1sec'),
|
||||||
},
|
},
|
||||||
|
|
||||||
kind: 'write:notes',
|
kind: 'write:notes',
|
||||||
|
Loading…
Reference in New Issue
Block a user