Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for updateHistory (0.2 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/dropped_requests_tracker.go

    	}(); done {
    		return
    	}
    
    	// We trigger the change of <currentUnix>.
    	s.lock.Lock()
    	defer s.lock.Unlock()
    	if s.currentUnix == unixTime {
    		s.currentCount.Add(1)
    		return
    	}
    
    	s.updateHistory(s.currentUnix, s.currentCount.Load())
    	s.currentUnix = unixTime
    	s.currentCount.Store(1)
    
    	// We only consider updating retryAfter when bumping the current second.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 26 13:50:25 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. pkg/controller/daemon/daemon_controller.go

    	for _, ds := range daemonSets {
    		dsc.enqueueDaemonSet(ds)
    	}
    }
    
    // updateHistory figures out what DaemonSet(s) manage a ControllerRevision when the ControllerRevision
    // is updated and wake them up. If anything of the ControllerRevision has changed, we need to  awaken
    // both the old and new DaemonSets.
    func (dsc *DaemonSetsController) updateHistory(logger klog.Logger, old, cur interface{}) {
    	curHistory := cur.(*apps.ControllerRevision)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
Back to top