Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for peerClients (0.15 sec)

  1. cmd/peer-s3-client.go

    	opts.Remove = isAllBucketsNotFound(poolErrs)
    	opts.Recreate = !opts.Remove
    
    	g = errgroup.WithNErrs(len(sys.peerClients))
    	healBucketResults := make([]madmin.HealResultItem, len(sys.peerClients))
    	for idx, client := range sys.peerClients {
    		idx := idx
    		client := client
    		g.Go(func() error {
    			if client == nil {
    				return errPeerOffline
    			}
    			res, err := client.HealBucket(ctx, bucket, opts)
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  2. cmd/notification.go

    func (sys *NotificationSys) restClientFromHash(s string) (client *peerRESTClient) {
    	if len(sys.peerClients) == 0 {
    		return nil
    	}
    	peerClients := sys.allPeerClients
    	if len(peerClients) == 0 {
    		return nil
    	}
    	idx := xxhash.Sum64String(s) % uint64(len(peerClients))
    	return peerClients[idx]
    }
    
    // GetPeerOnlineCount gets the count of online and offline nodes.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  3. cmd/perf-tests.go

    	connectionsPerPeer := 16
    
    	if len(globalNotificationSys.peerClients) > 16 {
    		// For a large cluster it's enough to have 1 connection per peer to saturate the network.
    		connectionsPerPeer = 1
    	}
    
    	errStr := ""
    	var wg sync.WaitGroup
    	for index := range globalNotificationSys.peerClients {
    		if globalNotificationSys.peerClients[index] == nil {
    			continue
    		}
    		go func(index int) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 11.3K bytes
    - Viewed (0)
Back to top