• Clayton Coleman's avatar
    Allow watch cache to be disabled per type · fc2d201e
    Clayton Coleman authored
    Currently setting watch cache size for a given resource does not disable
    the watch cache. This commit adds a new `default-watch-cache-size` flag
    to map to the existing field, and refactors how watch cache sizes are
    calculated to bring all of the code into one place. It also adds debug
    logging to startup to allow us to verify watch cache enablement in
    production.
    fc2d201e
validate.go 2.81 KB