Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for loadPolicyDocConcurrent (0.13 sec)

  1. cmd/iam-object-store.go

    			continue
    		}
    
    		res[listKey] = append(res[listKey], trimmedItem)
    	}
    
    	return res, nil
    }
    
    const (
    	maxIAMLoadOpTime = 5 * time.Second
    )
    
    func (iamOS *IAMObjectStore) loadPolicyDocConcurrent(ctx context.Context, policies ...string) ([]PolicyDoc, error) {
    	policyDocs := make([]PolicyDoc, len(policies))
    	g := errgroup.WithNErrs(len(policies))
    
    	for index := range policies {
    		index := index
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
Back to top