Skip to content

Jitter is rolled once and never re-rolled

Spreading trigger load cannot become a way for a trigger never to fire. The delay is drawn on the pass that finds the trigger due and then held to, however many passes follow.

The rule

Normative: this is the rule
  1. Where a trigger's firing is spread by a random delay, a maximum of zero or less MUST mean the delay is off.
  2. With the delay off, the firing MUST NOT be held, and no state is recorded, so it is not a zero-length window.
  3. Otherwise the bounds are clamped before use.
  4. A negative minimum MUST become zero.
  5. A minimum above the maximum MUST be used as both bounds.
  6. On the first pass at which the trigger is due, one delay MUST be drawn uniformly at random within the bounds.
  7. The resulting fire time is recorded.
  8. The firing MUST be held.
  9. Every later pass MUST use the recorded fire time rather than drawing again (re-drawing on each pass would let a trigger be deferred indefinitely).
  10. The firing MUST be released as soon as the current time reaches that fire time, inclusive.
  11. On release the record MUST be discarded, so the next due firing draws afresh.
  12. The record MUST be scoped to a single trigger, so one trigger's window never holds another back.

Why

Recorded under OPEN-25.

Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0 · TRIG-2 · changed in spec 1.0