Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for stopIfIdle (0.18 sec)

  1. pkg/kubelet/util/manager/watch_based_manager.go

    	i.lock.Lock()
    	defer i.lock.Unlock()
    	i.lastAccessTime = time
    }
    
    func (i *objectCacheItem) setImmutable() {
    	i.lock.Lock()
    	defer i.lock.Unlock()
    	i.immutable = true
    }
    
    func (i *objectCacheItem) stopIfIdle(now time.Time, maxIdleTime time.Duration) bool {
    	i.lock.Lock()
    	defer i.lock.Unlock()
    	// Ensure that we don't try to stop not yet initialized reflector.
    	// In case of overloaded kube-apiserver, if the list request is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top