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

    Function shouldFailover

    • Whether a replica's refusal may be retried on the primary.

      Reads the header the replica computed from didMutate(); a retry after a partial mutation double-applies it, so safety is never inferred from the status alone.

      Parameters

      • res: { headers: { get(name: string): string | null }; status: number }

      Returns boolean