-
Notifications
You must be signed in to change notification settings - Fork 804
Feat: random jitter in ScheduleNextCheck #3838
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
The current approach of adding jitter to the The There is an existing option In the example below, I have two feeds with a different If I refresh all feeds, they will be refreshed at the same time in parallel regardless of the next scheduled date. The Now, if I add different feeds using the same host, and enable the option |
description: ScheduleNextCheck now adds random jitter of 0–10 minutes to the calculated interval and re-limits the value to the upper limits of the configuration. This reduces the likelihood of massive simultaneous requests to a single host after failed updates and helps bypass frequency limits.
testing: updated check_target_interval to allow for an upper limit of +10m jitter; local linters on changed files without errors.
breaking changes: none
reopen old PR #3821 (I don't know how to change the message of an old commit, and the checks are complaining about it.)