Skip to content

@graphty/graphty-element / session / DEFAULT_EXACT_COMPUTATION_CAP_SECONDS

Variable: DEFAULT_EXACT_COMPUTATION_CAP_SECONDS ​

const DEFAULT_EXACT_COMPUTATION_CAP_SECONDS: 30 = 30

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

The cap a session applies when nothing else is configured.

Thirty seconds, deliberately above any sensible "ask the reader first" limit, because the two gates answer different questions: a reader is asked about a wait they will sit through, and this cap decides when an exact answer stops being worth computing at all.