Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 105 for load3 (0.15 sec)

  1. cni/pkg/nodeagent/healthServer.go

    	w.WriteHeader(http.StatusOK)
    }
    
    func readyz(installReady, watchReady *atomic.Value) http.HandlerFunc {
    	return func(w http.ResponseWriter, _ *http.Request) {
    		if !installReady.Load().(bool) || !watchReady.Load().(bool) {
    			http.Error(w, http.StatusText(http.StatusServiceUnavailable), http.StatusServiceUnavailable)
    			return
    		}
    		w.WriteHeader(http.StatusOK)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. cmd/object-api-common.go

    		if err != nil {
    			return nil, err
    		}
    		return newXLStorageDiskIDCheck(storage, opts.healthCheck), nil
    	}
    
    	return newStorageRESTClient(endpoint, opts.healthCheck, globalGrid.Load())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  3. cmd/data-scanner_test.go

    	es.workers.Store(&workers)
    	globalExpiryState = es
    	var wg sync.WaitGroup
    	wg.Add(1)
    	expired := make([]ObjectToDelete, 0, 5)
    	go func() {
    		defer wg.Done()
    		workers := globalExpiryState.workers.Load()
    		for t := range (*workers)[0] {
    			if t, ok := t.(newerNoncurrentTask); ok {
    				expired = append(expired, t.versions...)
    			}
    		}
    	}()
    	lc := lifecycle.Lifecycle{
    		Rules: []lifecycle.Rule{
    			{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-rebalance.go

    }
    
    var errRebalanceNotStarted = errors.New("rebalance not started")
    
    func (z *erasureServerPools) loadRebalanceMeta(ctx context.Context) error {
    	r := &rebalanceMeta{}
    	err := r.load(ctx, z.serverPools[0])
    	if err != nil {
    		if errors.Is(err, errConfigNotFound) {
    			return nil
    		}
    		return err
    	}
    
    	z.rebalMu.Lock()
    	if len(r.PoolStats) == len(z.serverPools) {
    		z.rebalMeta = r
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    	switch size := data.Size(); {
    	case size == 0:
    		buffer = make([]byte, 1) // Allocate at least a byte to reach EOF
    	case size >= fi.Erasure.BlockSize:
    		buffer = globalBytePoolCap.Load().Get()
    		defer globalBytePoolCap.Load().Put(buffer)
    	case size < fi.Erasure.BlockSize:
    		// No need to allocate fully blockSizeV1 buffer if the incoming data is smaller.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  6. cmd/metrics-v2.go

    			}
    
    			httpStats := globalBucketHTTPStats.load(bucket)
    			for k, v := range httpStats.currentS3Requests.Load(true) {
    				metrics = append(metrics, MetricV2{
    					Description:    getBucketS3RequestsInFlightMD(),
    					Value:          float64(v),
    					VariableLabels: map[string]string{"bucket": bucket, "api": k},
    				})
    			}
    
    			for k, v := range httpStats.totalS3Requests.Load(true) {
    				metrics = append(metrics, MetricV2{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  7. internal/logger/config.go

    			if target == legacyEnvLoggerHTTPEndpoint {
    				target = config.Default
    			}
    			loggerTargets = append(loggerTargets, target)
    		}
    
    		// Load HTTP logger from the environment if found
    		for _, target := range loggerTargets {
    			endpoint := getCfgVal(legacyEnvLoggerHTTPEndpoint, target, "")
    			if endpoint == "" {
    				continue
    			}
    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)
  8. cmd/globals.go

    	globalAuthZPlugin *polplugin.AuthZPlugin
    
    	// Deployment ID - unique per deployment
    	globalDeploymentIDPtr atomic.Pointer[string]
    	globalDeploymentID    = func() string {
    		ptr := globalDeploymentIDPtr.Load()
    		if ptr == nil {
    			return ""
    		}
    		return *ptr
    	}
    
    	globalAllHealState = newHealState(GlobalContext, true)
    
    	// The always present healing routine ready to heal objects
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  9. istioctl/pkg/workload/workload.go

    				ingressIP = ingress.Status.LoadBalancer.Ingress[0].IP
    			} else if len(ingress.Spec.ExternalIPs) > 0 {
    				ingressIP = ingress.Spec.ExternalIPs[0]
    			}
    			// TODO: add case where the load balancer is a DNS name
    		}
    	}
    
    	var hosts string
    	if netutil.IsValidIPAddress(ingressIP) {
    		hosts = fmt.Sprintf("%s %s\n", ingressIP, IstiodHost(istioNamespace, revision))
    	} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  10. cmd/object-multipart-handlers.go

    		CacheControl: objInfo.CacheControl,
    		Size:         asize,
    		Metadata:     cleanReservedKeys(objInfo.UserDefined),
    	})
    
    	if objInfo.NumVersions > int(scannerExcessObjectVersions.Load()) {
    		evt.EventName = event.ObjectManyVersions
    		sendEvent(evt)
    
    		auditLogInternal(context.Background(), AuditLogOptions{
    			Event:     "scanner:manyversions",
    			APIName:   "CompleteMultipartUpload",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
Back to top