Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Cannon (0.19 sec)

  1. internal/logger/config.go

    		}
    		if !enabled {
    			continue
    		}
    		var brokers []xnet.Host
    		kafkaBrokers := getCfgVal(EnvKafkaBrokers, k, kv.Get(KafkaBrokers))
    		if len(kafkaBrokers) == 0 {
    			return cfg, config.Errorf("kafka 'brokers' cannot be empty")
    		}
    		for _, s := range strings.Split(kafkaBrokers, config.ValueSeparator) {
    			var host *xnet.Host
    			host, err = xnet.ParseHost(s)
    			if err != nil {
    				break
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. cmd/config.go

    				if err != nil {
    					// ignore history file if not readable.
    					continue
    				}
    
    				data, err = decryptData(data, obj.Name)
    				if err != nil {
    					// ignore history file that cannot be loaded.
    					continue
    				}
    
    				cfgEntry.Data = string(data)
    			}
    			configHistory = append(configHistory, cfgEntry)
    			count--
    			if count == 0 {
    				break
    			}
    		}
    		if !res.IsTruncated {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Aug 23 10:07:06 GMT 2023
    - 6K bytes
    - Viewed (0)
  3. internal/config/identity/plugin/config.go

    		entry = &h.currentMinute
    	case reqTimeMinute.Equal(h.lastFullMinute.statsTime):
    		entry = &h.lastFullMinute
    	default:
    		// This request is too old, it should never happen, ignore it as we
    		// cannot return an error.
    		return
    	}
    
    	// Update stats
    	if isSuccess {
    		if entry.maxRttMs < rttMs {
    			entry.maxRttMs = rttMs
    		}
    		entry.rttMsSum += rttMs
    		entry.successRequestCount++
    	} else {
    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)
  4. internal/config/config.go

    		// region sub-system.
    		if err = CheckValidKeys(RegionSubSys, regionKV, DefaultRegionKVS); err != nil {
    			// An invalid key was found in the region sub-system.
    			// Since the region sub-system cannot be (re)set as it
    			// is legacy, we return an error to tell the user to
    			// reset the region via the new command.
    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