Repository navigation
Conversation
Zacgoose
commented
Oct 19, 2026
Contributor
- JitterMinutes on a timer entry delays each firing by a fixed per-site share of that window, so apps on a shared plan stop starting the same work in the same minute
- The share is the same for every timer on a site, so a timer with at least the jitter of the one it follows never fires closer to it
- Clamped below the shortest gap between the cron's slots; startup and timezone reseeds keep a slot that is still inside its window
- Start and CollectDue split out of the loop so a test can run the real service: timer file, CraftTZ, jitter and seeding, with dispatch left out
- SetTimezone takes the time internally so the warmup's runtime switch can be replayed
- Pins TZOffset vs ApplyTZOffset, once-per-night jittered firing across both DST changes, restarts inside and after the jitter window, and the warmup switch
- JitterMinutes on a timer entry delays each firing by a fixed per-site share of that window, so apps on a shared plan stop starting the same work in the same minute - The share is the same for every timer on a site, so a timer with at least the jitter of the one it follows never fires closer to it - Clamped below the shortest gap between the cron's slots; startup and timezone reseeds keep a slot that is still inside its window - Start and CollectDue split out of the loop so a test can run the real service: timer file, CraftTZ, jitter and seeding, with dispatch left out - SetTimezone takes the time internally so the warmup's runtime switch can be replayed - Pins TZOffset vs ApplyTZOffset, once-per-night jittered firing across both DST changes, restarts inside and after the jitter window, and the warmup switch
JohnDuprey
approved these changes
Oct 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.