Skip to main content

AppComputeBudgetInfo

An app's compute allowance in units per minute. Absent when no allowance has been set for the app, in which case its ck-exec code is never paused for its budget.

type AppComputeBudgetInfo {
appId: BigInt!
unitsPerMinute: BigInt!
enforce: Boolean!
note: String
updatedAt: DateTime!
}

Fields​

AppComputeBudgetInfo.appId ● BigInt! non-null scalar​

The app the allowance belongs to.

AppComputeBudgetInfo.unitsPerMinute ● BigInt! non-null scalar​

Compute units this app may consume per minute.

AppComputeBudgetInfo.enforce ● Boolean! non-null scalar​

When false the allowance is recorded and nothing is paused (the default). When true, ck-exec pauses the app's code while its last settled minute is over the allowance, and resumes it once a minute is back inside.

AppComputeBudgetInfo.note ● String scalar​

Why this number was chosen. Recorded because an allowance with no stated basis is a number the next operator cannot safely change.

AppComputeBudgetInfo.updatedAt ● DateTime! non-null scalar​

When the allowance was last written.

Returned By​

appComputeBudget query ● setAppComputeBudget mutation