drupflare/worker - v1.0.0
    Preparing search index...

    Function alarmRearmDelayMs

    • How long until the next firing, derived from the CLASSIFICATION rather than from the payload.

      queueNonEmpty can only make an already-progressing chain fast. It cannot rescue a failure, which is precisely the coupling that produced 196 firings in 14 s: the queue stayed non-empty because the failing row was never struck, and the delay was read off the queue instead of off the outcome.

      Parameters

      • cls: AlarmClass
      • opts: { failures?: number; fastMs?: number; idleMs?: number; queueNonEmpty?: boolean } = {}

      Returns number