Skip to content

Conversation

@nickvergessen
Copy link
Member

@nickvergessen nickvergessen commented May 2, 2025

  • Additionally removing the actual sleep when throwing method is used, as it is not adding benefit when it's being aborted with 429 in other cases anyway.
  • Also fixes internal server error that was shown when being throttled on public sharing webdav endpoints
Before After
grafik grafik

Checklist

The sleep is not adding benefit when it's being aborted with 429
in other cases anyway.

Signed-off-by: Joas Schilling <[email protected]>
@nickvergessen nickvergessen added this to the Nextcloud 32 milestone May 2, 2025
@nickvergessen nickvergessen self-assigned this May 2, 2025
@nickvergessen nickvergessen requested a review from a team as a code owner May 2, 2025 10:09
@nickvergessen nickvergessen requested review from ArtificialOwl, icewind1991, miaulalala and yemkareems and removed request for a team May 2, 2025 10:09
@nickvergessen nickvergessen changed the title fix(throttler): Always use the sleepOrThrowOnMax method fix(throttler): Always use the sleepDelayOrThrowOnMax instead of deprecated sleepDelay May 2, 2025
Copy link
Contributor

@miaulalala miaulalala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice

@kesselb kesselb merged commit 1c2b4f2 into master May 6, 2025
192 checks passed
@kesselb kesselb deleted the bugfix/noid/remove-sleep-from-throttler branch May 6, 2025 17:22
@skjnldsv skjnldsv mentioned this pull request Aug 19, 2025
@skjnldsv skjnldsv modified the milestones: Nextcloud 32, Nextcloud 33 Sep 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants