Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for WithNErrs (0.24 sec)

  1. cmd/bucket-metadata-sys.go

    }
    
    // concurrently load bucket metadata to speed up loading bucket metadata.
    func (sys *BucketMetadataSys) concurrentLoad(ctx context.Context, buckets []BucketInfo, failedBuckets map[string]struct{}) {
    	g := errgroup.WithNErrs(len(buckets))
    	bucketMetas := make([]BucketMetadata, len(buckets))
    	for index := range buckets {
    		index := index
    		g.Go(func() error {
    			// Sleep and stagger to avoid blocked CPU and thundering
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 19.8K bytes
    - Viewed (0)
Back to top