Skip to content

CoordinationMode

CoordinationMode = "distributed" | "observational" | "degraded-local" | "unavailable" | "local"

Defined in: packages/rest/src/telemetry.ts:89

How a store enforces limits right now.

  • distributed: shared state with atomic reservations.
  • observational: shared state without atomic reservations (a client with no eval): workers can race on the last unit.
  • degraded-local: shared state is unreachable and this process is limiting alone, from its last known state.
  • unavailable: shared state is unreachable and requests fail (failurePolicy: "fail-closed").
  • local: a process-local store.