Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for Kuwait (0.14 sec)

  1. cmd/metrics-resource.go

    	writesPerSec   MetricName = "writes_per_sec"
    	readsKBPerSec  MetricName = "reads_kb_per_sec"
    	writesKBPerSec MetricName = "writes_kb_per_sec"
    	readsAwait     MetricName = "reads_await"
    	writesAwait    MetricName = "writes_await"
    	percUtil       MetricName = "perc_util"
    	usedInodes     MetricName = "used_inodes"
    
    	// network stats
    	interfaceRxBytes  MetricName = "rx_bytes"
    	interfaceRxErrors MetricName = "rx_errors"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  2. cmd/admin-heal-ops.go

    	if source.noWait {
    		select {
    		case globalBackgroundHealRoutine.tasks <- task:
    			if serverDebugLog {
    				fmt.Printf("Task in the queue: %#v\n", task)
    			}
    		default:
    			// task queue is full, no more workers, we shall move on and heal later.
    			return nil
    		}
    		// Don't wait for result
    		return nil
    	}
    
    	// respCh must be set to wait for result.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  3. cmd/batch-rotate.go

    				if success {
    					break
    				}
    				if delay > 0 {
    					time.Sleep(delay + time.Duration(rnd.Float64()*float64(delay)))
    				}
    			}
    
    			if wait := globalBatchConfig.KeyRotationWait(); wait > 0 {
    				time.Sleep(wait)
    			}
    		}()
    	}
    	wk.Wait()
    
    	ri.Complete = ri.ObjectsFailed == 0
    	ri.Failed = ri.ObjectsFailed > 0
    	globalBatchJobsMetrics.save(job.ID, ri)
    	// persist in-memory state to disk.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  4. internal/dsync/dsync_test.go

    	cancel := func() {
    		cl()
    		wg.Done()
    	}
    
    	if !dm.GetLock(ctx, cancel, id, source, Options{Timeout: 5 * time.Minute}) {
    		t.Fatal("GetLock() should be successful")
    	}
    
    	// Wait until context is canceled
    	wg.Wait()
    	if ctx.Err() == nil {
    		t.Fatal("Unexpected error", ctx.Err())
    	}
    
    	// Should be safe operation in all cases
    	dm.Unlock(context.Background())
    }
    
    // Test Unlock should not timeout
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  5. internal/grid/connection.go

    		return true
    	})
    	c.inStream.Range(func(key uint64, value *muxServer) bool {
    		value.close()
    		return true
    	})
    
    	c.inStream.Clear()
    	c.outgoing.Clear()
    
    	// Wait for existing to exit
    	c.handleMsgWg.Wait()
    }
    
    func (c *Connection) updateState(s State) {
    	c.connChange.L.Lock()
    	defer c.connChange.L.Unlock()
    
    	// We may have reads that aren't locked, so update atomically.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  6. cmd/batch-expire.go

    	}
    
    	var i int
    	for toExpire := range expireCh {
    		select {
    		case <-ctx.Done():
    			return
    		default:
    		}
    		if i > 0 {
    			if wait := globalBatchConfig.ExpirationWait(); wait > 0 {
    				time.Sleep(wait)
    			}
    		}
    		i++
    		wk.Take()
    		go func(toExpire []expireObjInfo) {
    			defer wk.Give()
    
    			toExpireAll := make([]ObjectInfo, 0, len(toExpire))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  7. cmd/erasure-metadata.go

    			fi.Erasure.Index = index + 1
    			if fi.IsValid() {
    				return disks[index].WriteMetadata(ctx, origbucket, bucket, prefix, fi)
    			}
    			return errFileCorrupt
    		}, index)
    	}
    
    	// Wait for all the routines.
    	mErrs := g.Wait()
    
    	err := reduceWriteQuorumErrs(ctx, mErrs, objectOpIgnoredErrs, quorum)
    	return evalDisks(disks, mErrs), err
    }
    
    func commonParity(parities []int, defaultParityCount int) int {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  8. operator/cmd/mesh/manifest_shared_test.go

    	// CRDs are not in the prune list, but must be considered for tests.
    	allClusterGVKs = helmreconciler.ClusterResources
    )
    
    func init() {
    	if kubeBuilderInstalled() {
    		// TestMode is required to not wait in the go client for resources that will never be created in the test server.
    		helmreconciler.TestMode = true
    		// Add install and controller to the list of commands to run tests against.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  9. internal/event/target/amqp.go

    	Mandatory         bool     `json:"mandatory"`
    	Immediate         bool     `json:"immediate"`
    	Durable           bool     `json:"durable"`
    	Internal          bool     `json:"internal"`
    	NoWait            bool     `json:"noWait"`
    	AutoDeleted       bool     `json:"autoDeleted"`
    	PublisherConfirms bool     `json:"publisherConfirms"`
    	QueueDir          string   `json:"queueDir"`
    	QueueLimit        uint64   `json:"queueLimit"`
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 10K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/informers_test.go

    			constants.DataplaneModeLabel, constants.DataplaneModeAmbient)), metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    	// wait for an update event
    	mt.Assert(EventTotals.Name(), map[string]string{"type": "update"}, monitortest.AtLeast(2))
    
    	// wait for the pod to be annotated
    	// after Pod annotated, another update event will be triggered.
    	assertPodAnnotated(t, client, pod)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
Back to top