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

Method configuredExpressionNodeLimit

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

482// configuredExpressionNodeLimit returns the effective expression node limit.
483// A zero value means "use default".
484func (e *Env) configuredExpressionNodeLimit() int {
485 if l := e.limits[limitExpressionNodeCount]; l != 0 {
486 return l
487 }
488 return 100_000
489}
490
491// Compile combines the Parse and Check phases CEL program compilation to produce an Ast and
492// associated issues.

Callers 1

CheckMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected