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

Method configuredExpressionNodeLimit

cel/env.go:548–553  ·  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

546// configuredExpressionNodeLimit returns the effective expression node limit.
547// A zero value means "use default".
548func (e *Env) configuredExpressionNodeLimit() int {
549 if l := e.limits[limitExpressionNodeCount]; l != 0 {
550 return l
551 }
552 return 100_000
553}
554
555// Compile combines the Parse and Check phases CEL program compilation to produce an Ast and
556// associated issues.

Callers 1

CheckMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected