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

    Function shouldRollback

    • Whether to roll back; it usually says no, with a named reason.

      Requires quarantine, ROLLBACK_DWELL_MS of dwell and an existing restore point (reverting to nothing is worse than the fault).

      Parameters

      • state: RepairState
      • restorePoint: { id: number; statements: number } | undefined
      • nowMs: number

      Returns RollbackDecision