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

✨: pkg/cache: add options for cache miss policy #2406

Merged

Commits on Aug 16, 2023

  1. pkg/{cache,client}: add options for cache miss policy

    This commit allows users to opt out of the "start informers in the
    background" behavior that the current cache implementation uses.
    Additionally, when opting out of this behavior, the client can be
    configured to do a live lookup on a cache miss. The default behaviors
    are:
    
      pkg/cache: backfill data on a miss (today's default, unchanged)
      pkg/client: live lookup when cache is configured to miss
    
    Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
    stevekuznetsov authored and sbueringer committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    fba58bc View commit details
    Browse the repository at this point in the history