Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addUpdateResult (0.28 sec)

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

    			if numUpdatesInPastMinute > 5 {
    				return true
    			}
    		}
    	}
    	return false
    }
    
    // addUpdateResult adds the result. It isn't a ring buffer because
    // this is small and rate limited.
    // Only invoke this in the one and only worker goroutine
    func (cfgCtlr *configController) addUpdateResult(result updateAttempt) {
    	cfgCtlr.mostRecentUpdates = append([]updateAttempt{result}, cfgCtlr.mostRecentUpdates...)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 48.8K bytes
    - Viewed (0)
Back to top