Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for shouldLogCacheInvalidation (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/caching_object.go

    	return result
    }
    
    var (
    	invalidationCacheTimestampLock sync.Mutex
    	invalidationCacheTimestamp     time.Time
    )
    
    // shouldLogCacheInvalidation allows for logging cache-invalidation
    // at most once per second (to avoid spamming logs in case of issues).
    func shouldLogCacheInvalidation(now time.Time) bool {
    	invalidationCacheTimestampLock.Lock()
    	defer invalidationCacheTimestampLock.Unlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 18:03:48 UTC 2023
    - 12.6K bytes
    - Viewed (0)
Back to top