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

    Function migrateAlarmDelayMs

    • How long to wait before the next migration alarm. Takes the step result itself, not the { migrate: out } wrapper, whose missing done made the idle branch unreachable.

      Parameters

      • Optionalout: { done?: boolean; ok?: boolean }

        a migrator step result, or the { ok: false } shape the catch path returns

      • failures: number = 0

        consecutive failures, for the capped backoff

      • options: { chainMs?: number; idleMs?: number; maxBackoffMs?: number } = {}

      Returns number