Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: Add template validation caching #13633

Closed

Commits on Sep 24, 2024

  1. perf: Add template validation caching

    During template validation k8s API is called for each templateRef.
    For complex workflows with many refs it creates huge overhead.
    Let's cache such templates
    
    Throughout codebase each wrapper is used only in context of single call.
    It is not guaranteed for future, so TTL mechanism was added with default TTL=1M
    Additionally WithCacheTTL enables overwriting this parameter.
    
    Signed-off-by: Jakub Buczak <[email protected]>
    jakkubu committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    9df7abf View commit details
    Browse the repository at this point in the history