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

    Function recordOutcome

    • Folds one outcome into the state.

      A different failure code resets the strike count: two unrelated faults are not one durable condition, and summing them would quarantine a site for two bad days.

      Parameters

      • state: RepairState
      • outcome: { code?: string; ok: boolean }
      • nowMs: number

      Returns RepairState