Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for NOWAIT (0.23 sec)

  1. cmd/data-usage.go

    		return map[string]uint64{}, nil
    	}
    
    	cache := dataUsageCache{}
    
    	prefixUsageCache.InitOnce(30*time.Second,
    		// No need to fail upon Update() error, fallback to old value.
    		cachevalue.Opts{ReturnLastGood: true, NoWait: true},
    		func() (map[string]uint64, error) {
    			m := make(map[string]uint64)
    			for _, pool := range z.serverPools {
    				for _, er := range pool.sets {
    					// Load bucket usage prefixes
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. cmd/bucket-quota.go

    var bucketStorageCache = cachevalue.New[DataUsageInfo]()
    
    // Init initialize bucket quota.
    func (sys *BucketQuotaSys) Init(objAPI ObjectLayer) {
    	bucketStorageCache.InitOnce(10*time.Second,
    		cachevalue.Opts{ReturnLastGood: true, NoWait: true},
    		func() (DataUsageInfo, error) {
    			ctx, done := context.WithTimeout(context.Background(), 2*time.Second)
    			defer done()
    
    			return loadDataUsageFromBackend(ctx, objAPI)
    		},
    	)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. cmd/admin-heal-ops.go

    	h.currentStatus.Items = nil
    
    	return jbytes, ErrNone
    }
    
    // healSource denotes single entity and heal option.
    type healSource struct {
    	bucket    string
    	object    string
    	versionID string
    	noWait    bool             // a non blocking call, if task queue is full return right away.
    	opts      *madmin.HealOpts // optional heal option overrides default setting
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  4. cmd/data-scanner.go

    func (f *folderScanner) scanFolder(ctx context.Context, folder cachedFolder, into *dataUsageEntry) error {
    	done := ctx.Done()
    	scannerLogPrefix := color.Green("folder-scanner:")
    
    	noWait := func() {}
    
    	thisHash := hashPath(folder.name)
    	// Store initial compaction state.
    	wasCompacted := into.Compacted
    
    	for {
    		select {
    		case <-done:
    			return ctx.Err()
    		default:
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 47.4K bytes
    - Viewed (0)
  5. internal/config/notify/parse.go

    			Durable:           env.Get(durableEnv, kv.Get(target.AmqpDurable)) == config.EnableOn,
    			Internal:          env.Get(internalEnv, kv.Get(target.AmqpInternal)) == config.EnableOn,
    			NoWait:            env.Get(noWaitEnv, kv.Get(target.AmqpNoWait)) == config.EnableOn,
    			AutoDeleted:       env.Get(autoDeletedEnv, kv.Get(target.AmqpAutoDeleted)) == config.EnableOn,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 46.4K bytes
    - Viewed (0)
  6. 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() ([]BucketInfo, error) {
    				ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
    				defer cancel()
    
    				buckets, err = z.s3Peer.ListBuckets(ctx, opts)
    				if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users.go

    			ObjectName:      "",
    			Claims:          cred.Claims,
    		}) {
    			wr = true
    		}
    
    		return rd, wr
    	}
    
    	bucketStorageCache.InitOnce(10*time.Second,
    		cachevalue.Opts{ReturnLastGood: true, NoWait: true},
    		func() (DataUsageInfo, error) {
    			ctx, done := context.WithTimeout(context.Background(), 2*time.Second)
    			defer done()
    
    			return loadDataUsageFromBackend(ctx, objectAPI)
    		},
    	)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  8. .bazelrc

    # RBE cross-compile configs for Darwin x86
    build:rbe_cross_compile_macos_x86 --config=cross_compile_macos_x86
    build:rbe_cross_compile_macos_x86 --config=rbe_cross_compile_base
    build:rbe_cross_compile_macos_x86 --bes_upload_mode=nowait_for_upload_complete
    test:rbe_cross_compile_macos_x86 --config=rbe_cross_compile_base
    # Increase the test timeout as tests often take longer on mac.
    test:rbe_cross_compile_macos_x86 --test_timeout=300,450,1200,3600
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 52.6K bytes
    - Viewed (2)
Back to top