MCPcopy Create free account
hub / github.com/cel-expr/cel-go / configuredExpressionNodeLimit

Method configuredExpressionNodeLimit

cel/env.go:468–473  ·  view source on GitHub ↗

configuredExpressionNodeLimit returns the effective expression node limit. A zero value means "use default".

()

Source from the content-addressed store, hash-verified

466// configuredExpressionNodeLimit returns the effective expression node limit.
467// A zero value means "use default".
468func (e *Env) configuredExpressionNodeLimit() int {
469 if l := e.limits[limitExpressionNodeCount]; l != 0 {
470 return l
471 }
472 return 100_000
473}
474
475// Compile combines the Parse and Check phases CEL program compilation to produce an Ast and
476// associated issues.

Callers 1

CheckMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected