Documentation
¶
Index ¶
Constants ¶
View Source
const MaxJitterWindow = time.Hour
MaxJitterWindow requests the widest spread ApplyCronJitter can express; the effective jitter is still capped at each schedule's firing interval.
Variables ¶
This section is empty.
Functions ¶
func ApplyCronJitter ¶
ApplyCronJitter deterministically shifts the minute field of a standard 5-field cron expression by hash(emitterID) minutes. Mirrors Temporal schedule jitter semantics: window is a maximum — the effective jitter is capped at the schedule's shortest firing interval and at one hour. Never fails; anything unsupported returns the schedule unchanged.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.