Skip to content
Snippets Groups Projects

tweak the rate limit for `notes/create` and other improvements

Merged dakkar requested to merge feature/more-boost-improvements into develop

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

  • I agree to follow this project's Contribution Guidelines
  • I have made sure to test this pull request

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading