Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. internal/config/identity/plugin/config.go

    	healthCheckTimeout  = 5 * time.Second
    )
    
    func (o *AuthNPlugin) doPeriodicHealthCheck() {
    	ticker := time.NewTicker(healthCheckInterval)
    	defer ticker.Stop()
    
    	for {
    		select {
    		case <-ticker.C:
    			now := time.Now()
    			isConnected := o.checkConnectivity(o.shutdownCtx)
    			if isConnected {
    				o.serviceMetrics.setConnSuccess(now)
    			} else {
    				o.serviceMetrics.setConnFailure(now)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  2. internal/config/config.go

    		return nil, Errorf("invalid number of arguments %s", s)
    	}
    	found := SubSystems.Contains(subSystemValue[0])
    	if !found {
    		// Check for sub-prefix only if the input value is only a
    		// single value, this rejects invalid inputs if any.
    		found = !SubSystems.FuncMatch(strings.HasPrefix, subSystemValue[0]).IsEmpty() && len(subSystemValue) == 1
    	}
    	if !found {
    		return nil, Errorf("unknown sub-system %s", s)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
Back to top