tweak the rate limit for `notes/create` and other improvements
Loading
What does this PR do?
tweak the rate limit for notes/create
while fixing #467 (closed) #468 (closed), 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
some linting fixes (already present on future-2024-05-31
)
a more robust way to avoid sending multiple boost requests at the same time (now it blocks the button as well, not just the hotkey)
the hotkey now uses configured boost visibility, instead of note's
Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines