WasmModulePolicy
Per-app guardrails / platform ceilings for compute modules. A missing row means platform defaults.
type WasmModulePolicy {
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
WasmModulePolicy.appId ● BigInt! non-null scalar
The app (tenant) the policy applies to.
WasmModulePolicy.enabled ● Boolean! non-null scalar
App-wide kill switch for all compute modules.
WasmModulePolicy.maxModules ● Int! non-null scalar
Max modules the app may define.
WasmModulePolicy.maxTickHz ● Float! non-null scalar
Max tick rate (Hz) any module may request.
WasmModulePolicy.fuelPerTick ● BigInt! non-null scalar
Fuel budget per tick call.
WasmModulePolicy.fuelPerInvoke ● BigInt! non-null scalar
Fuel budget per invoke/event call.
WasmModulePolicy.maxMemoryMb ● Int! non-null scalar
Max guest linear memory (MB).
WasmModulePolicy.maxRunMs ● Int! non-null scalar
Wall-clock watchdog budget per entry call (ms).
WasmModulePolicy.maxDbOpsPerTick ● Int! non-null scalar
Max host data-API operations per tick.
WasmModulePolicy.maxEgressMsgsPerMin ● Int! non-null scalar
Max replication messages a module may emit per minute.
WasmModulePolicy.maxEgressBytesPerMin ● BigInt! non-null scalar
Max replication bytes a module may emit per minute.
WasmModulePolicy.failureThreshold ● Int! non-null scalar
Consecutive failures that open a module circuit.
WasmModulePolicy.cooldownMs ● Int! non-null scalar
Cooldown (ms) while a module circuit is open.
Returned By
computeModulePolicy query ● computeSetPolicy mutation