Skip to content

@graphty/graphty-element / session / CostGateLimits

Interface: CostGateLimits ​

Defined in: graphty-element/src/session/cost/estimate.ts:992

The two numbers the gate compares a run against.

exactComputationSeconds is in SECONDS: the policy is "if the estimate is at or below the cap it runs exactly", so the cap and the estimate have to be the same kind of number. It is a different threshold from the reader-facing "ask before runs estimated over" preference, which belongs to whoever is watching the screen rather than to the element.

Properties ​

exactComputationSeconds ​

readonly exactComputationSeconds: number

Defined in: graphty-element/src/session/cost/estimate.ts:994

The seconds at or below which a run is computed exactly.


runColumnBudgetBytes ​

readonly runColumnBudgetBytes: number

Defined in: graphty-element/src/session/cost/estimate.ts:996

The bytes one run's published columns may occupy before the run is refused.