Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for shouldDelayUpdate (0.12 sec)

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

    		WithStatus(flowcontrolapplyconfiguration.FlowSchemaStatus().
    			WithConditions(condition),
    		)
    }
    
    // shouldDelayUpdate checks to see if a flowschema has been updated too often and returns true if a delay is needed.
    // Only invoke this in the one and only worker goroutine
    func (cfgCtlr *configController) shouldDelayUpdate(flowSchemaName string) bool {
    	numUpdatesInPastMinute := 0
    	oneMinuteAgo := cfgCtlr.clock.Now().Add(-1 * time.Minute)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 48.8K bytes
    - Viewed (1)
Back to top