Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ReturnLastGood (0.1 sec)

  1. cmd/erasure-server-pool.go

    func (z *erasureServerPools) ListBuckets(ctx context.Context, opts BucketOptions) (buckets []BucketInfo, err error) {
    	if opts.Cached {
    		listBucketsCache.InitOnce(time.Second,
    			cachevalue.Opts{ReturnLastGood: true, NoWait: true},
    			func(ctx context.Context) ([]BucketInfo, error) {
    				ctx, cancel := context.WithTimeout(ctx, 5*time.Second)
    				defer cancel()
    
    				buckets, err = z.s3Peer.ListBuckets(ctx, opts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top