Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 465 for Done (0.17 sec)

  1. cmd/bucket-quota.go

    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)
    		},
    	)
    }
    
    // GetBucketUsageInfo return bucket usage info for a given bucket
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    // Collect is called by the Prometheus registry when collecting metrics.
    func (c *minioBucketCollector) Collect(out chan<- prometheus.Metric) {
    	var wg sync.WaitGroup
    	publish := func(in <-chan MetricV2) {
    		defer wg.Done()
    		for metric := range in {
    			labels, values := getOrderedLabelValueArrays(metric.VariableLabels)
    			collectMetric(metric, labels, values, "bucket", out)
    		}
    	}
    
    	// Call peer api to fetch metrics
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  3. cmd/admin-heal-ops.go

    	t.HealedBuckets = append(make([]string, 0, len(tracker.HealedBuckets)), tracker.HealedBuckets...)
    	ahs.healStatus[tracker.ID] = t
    	tracker.mu.RUnlock()
    }
    
    // Sort by zone, set and disk index
    func sortDisks(disks []madmin.Disk) {
    	sort.Slice(disks, func(i, j int) bool {
    		a, b := &disks[i], &disks[j]
    		if a.PoolIndex != b.PoolIndex {
    			return a.PoolIndex < b.PoolIndex
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  4. helm-releases/minio-3.5.2.tgz

    affinity: {} ## List of buckets to be created after minio install ## buckets: # # Name of the bucket # - name: bucket1 # # Policy to be set on the # # bucket [none|download|upload|public] # policy: none # # Purge if bucket exists already # purge: false # # set versioning for # # bucket [true|false] # versioning: false # - name: bucket2 # policy: none # purge: false # versioning: true ## Additional Annotations for the Kubernetes Job makeBucketJob makeBucketJob: podAnnotations: annotations: securityContext:...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 08 00:29:26 GMT 2022
    - 15.4K bytes
    - Viewed (0)
  5. internal/logger/target/kafka/kafka.go

    	h.store = queueStore
    	h.storeCtxCancel = cancel
    	store.StreamItems(h.store, h, ctx.Done(), h.kconfig.LogOnce)
    	return
    }
    
    func (h *Target) startKafkaLogger() {
    	h.logChMu.RLock()
    	logCh := h.logCh
    	if logCh != nil {
    		// We are not allowed to add when logCh is nil
    		h.wg.Add(1)
    		defer h.wg.Done()
    
    	}
    	h.logChMu.RUnlock()
    
    	if logCh == nil {
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.1K bytes
    - Viewed (1)
  6. buildscripts/checkdeps.sh

    	# Iterate down a (possible) chain of symlinks
    	while [ -L "$TARGET_FILE" ]; do
    		TARGET_FILE=$(env readlink $TARGET_FILE)
    		cd $(dirname $TARGET_FILE)
    		TARGET_FILE=$(basename $TARGET_FILE)
    	done
    
    	# Compute the canonicalized name by finding the physical path
    	# for the directory we're in and appending the target file.
    	PHYS_DIR=$(pwd -P)
    	RESULT=$PHYS_DIR/$TARGET_FILE
    	echo $RESULT
    }
    
    ## FIXME:
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  7. internal/grid/connection.go

    					return
    				}
    			case <-ctx.Done():
    				c.connChange.L.Unlock()
    				return
    			}
    		}
    	}()
    
    	for {
    		select {
    		case <-ctx.Done():
    			return context.Cause(ctx)
    		case newState := <-changed:
    			if newState == StateConnected {
    				return nil
    			}
    		}
    	}
    }
    
    /*
    var ErrDone = errors.New("done for now")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  8. cmd/peer-rest-server.go

    	}
    
    	done := keepHTTPResponseAlive(w)
    
    	result, err := selfSpeedTest(r.Context(), speedTestOpts{
    		objectSize:   size,
    		concurrency:  concurrent,
    		duration:     duration,
    		storageClass: storageClass,
    		bucketName:   bucketName,
    		enableSha256: enableSha256,
    	})
    	if err != nil {
    		result.Error = err.Error()
    	}
    
    	done(nil)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  9. buildscripts/cross-compile.sh

    	go build -trimpath -tags kqueue -o /dev/null
    }
    
    function main() {
    	echo "Testing builds for OS/Arch: ${SUPPORTED_OSARCH}"
    	for each_osarch in ${SUPPORTED_OSARCH}; do
    		_build "${each_osarch}"
    	done
    }
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 19 01:08:22 GMT 2023
    - 958 bytes
    - Viewed (0)
  10. internal/grid/handlers.go

    // This must be done prior to registering the handler.
    func (h *StreamTypeHandler[Payload, Req, Resp]) WithOutCapacity(out int) *StreamTypeHandler[Payload, Req, Resp] {
    	h.OutCapacity = out
    	return h
    }
    
    // WithInCapacity adjusts the input capacity from the handler perspective.
    // This must be done prior to registering the handler.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
Back to top