SetComputePolicyInput
Set the per-app compute policy (guardrails / platform ceilings). Omitted fields keep their current (or default) values.
input SetComputePolicyInput {
appId: BigInt!
enabled: Boolean
maxModules: Int
maxTickHz: Float
fuelPerTick: BigInt
fuelPerInvoke: BigInt
maxMemoryMb: Int
maxRunMs: Int
maxDbOpsPerTick: Int
maxEgressMsgsPerMin: Int
maxEgressBytesPerMin: BigInt
failureThreshold: Int
cooldownMs: Int
}
Fields
SetComputePolicyInput.appId ● BigInt! non-null scalar
The app (tenant).
SetComputePolicyInput.enabled ● Boolean scalar
App-wide kill switch for all compute modules.
SetComputePolicyInput.maxModules ● Int scalar
Max modules the app may define.
SetComputePolicyInput.maxTickHz ● Float scalar
Max tick rate (Hz) any module may request.
SetComputePolicyInput.fuelPerTick ● BigInt scalar
Fuel budget per tick call.
SetComputePolicyInput.fuelPerInvoke ● BigInt scalar
Fuel budget per invoke/event call.
SetComputePolicyInput.maxMemoryMb ● Int scalar
Max guest linear memory (MB).
SetComputePolicyInput.maxRunMs ● Int scalar
Wall-clock watchdog budget per entry call (ms).
SetComputePolicyInput.maxDbOpsPerTick ● Int scalar
Max host data-API operations per tick.
SetComputePolicyInput.maxEgressMsgsPerMin ● Int scalar
Max replication messages a module may emit per minute.
SetComputePolicyInput.maxEgressBytesPerMin ● BigInt scalar
Max replication bytes a module may emit per minute.
SetComputePolicyInput.failureThreshold ● Int scalar
Consecutive failures that open a module circuit.
SetComputePolicyInput.cooldownMs ● Int scalar
Cooldown (ms) while a module circuit is open.
Member Of
computeSetPolicy mutation