GmFunctionBreakerStatus
The player-invoke breaker's mode and thresholds on the answering instance, with this app's circuits. The mode decides whether any of it refuses anything.
type GmFunctionBreakerStatus {
mode: String!
failureThreshold: Int!
cooldownMs: Int!
circuits: [GmFunctionCircuit!]!
}
Fields
GmFunctionBreakerStatus.mode ● String! non-null scalar
'shadow' (default: the state machine runs in full, every call is admitted, and shadowRefusals counts what enforcement would have refused), 'enforce' (the same state machine, refusing), or 'off' (no state, no measurement). Read from GM_FUNCTION_BREAKER_MODE on the instance that answered.
GmFunctionBreakerStatus.failureThreshold ● Int! non-null scalar
Consecutive failed player invokes of one function before its circuit opens.
GmFunctionBreakerStatus.cooldownMs ● Int! non-null scalar
How long an open circuit waits before admitting one probe, in milliseconds.
GmFunctionBreakerStatus.circuits ● [GmFunctionCircuit!]! non-null object
Circuits for this app, non-closed first, then by consecutive failures. Only functions that have failed at least once appear.