Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for wg (0.01 sec)

  1. cmd/bucket-replication.go

    				Host:      globalLocalNodeName,
    			})
    			continue
    		}
    		wg.Add(1)
    		go func(tgt *TargetClient) {
    			defer wg.Done()
    			tgtInfo := replicateDeleteToTarget(ctx, dobj, tgt)
    
    			mu.Lock()
    			rinfos.Targets = append(rinfos.Targets, tgtInfo)
    			mu.Unlock()
    		}(tgtClnt)
    	}
    	wg.Wait()
    
    	replicationStatus = rinfos.ReplicationStatus()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    	go func() {
    		ctx, cancel := context.WithCancel(ctx)
    		defer cancel()
    
    		wg := sync.WaitGroup{}
    		for i, disk := range disks {
    			if disk == nil {
    				done <- false
    				continue
    			}
    			if !disk.IsOnline() {
    				done <- false
    				continue
    			}
    			wg.Add(1)
    			go func(i int, disk StorageAPI) {
    				defer wg.Done()
    
    				var (
    					fi  FileInfo
    					rfi RawFileInfo
    					err error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top