configuredExpressionNodeLimit returns the effective expression node limit. A zero value means "use default".
()
| 482 | // configuredExpressionNodeLimit returns the effective expression node limit. |
| 483 | // A zero value means "use default". |
| 484 | func (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. |