Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 161 for duration (0.2 sec)

  1. internal/config/batch/batch.go

    type Config struct {
    	ReplicationWorkersWait time.Duration `json:"replicationWorkersWait"`
    	KeyRotationWorkersWait time.Duration `json:"keyRotationWorkersWait"`
    	ExpirationWorkersWait  time.Duration `json:"expirationWorkersWait"`
    }
    
    // ExpirationWait returns the duration for which a batch expiration worker
    // would wait before working on next object.
    func (opts Config) ExpirationWait() time.Duration {
    	configMu.RLock()
    	defer configMu.RUnlock()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Dec 06 09:09:22 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  2. internal/http/listener_test.go

    		{[]string{"unknown-host:65432"}, time.Duration(0), time.Duration(0), time.Duration(0), []bool{true}},                            // 4
    		{[]string{"localhost:65432"}, time.Duration(0), time.Duration(0), time.Duration(0), []bool{false}},                              // 5
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Jun 12 16:09:28 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  3. cmd/perf-tests.go

    		errStr = "network disconnection issues detected"
    	}
    
    	globalNetPerfRX.Reset()
    	return madmin.NetperfNodeResult{Endpoint: "", TX: r.n / uint64(duration.Seconds()), RX: uint64(rx / delta.Seconds()), Error: errStr}
    }
    
    func siteNetperf(ctx context.Context, duration time.Duration) madmin.SiteNetPerfNodeResult {
    	r := &netperfReader{eof: make(chan struct{})}
    	r.buf = make([]byte, 128*humanize.KiByte)
    	rand.Read(r.buf)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  4. cmd/dynamic-timeouts.go

    	timeout       int64
    	minimum       int64
    	entries       int64
    	log           [dynamicTimeoutLogSize]time.Duration
    	mutex         sync.Mutex
    	retryInterval time.Duration
    }
    
    type dynamicTimeoutOpts struct {
    	timeout       time.Duration
    	minimum       time.Duration
    	retryInterval time.Duration
    }
    
    func newDynamicTimeoutWithOpts(opts dynamicTimeoutOpts) *dynamicTimeout {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Aug 19 23:21:05 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  5. internal/dsync/drwmutex.go

    type Timeouts struct {
    	// Acquire - tolerance limit to wait for lock acquisition before.
    	Acquire time.Duration
    
    	// RefreshCall - timeout for the refresh call
    	RefreshCall time.Duration
    
    	// UnlockCall - timeout for the unlock call
    	UnlockCall time.Duration
    
    	// ForceUnlockCall - timeout for the force unlock call
    	ForceUnlockCall time.Duration
    }
    
    // DefaultTimeouts contains default timeouts.
    var DefaultTimeouts = Timeouts{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  6. istioctl/pkg/metrics/metrics.go

    }
    
    func getLatency(promAPI promv1.API, workloadName, workloadNamespace string, duration time.Duration, quantile float64) (time.Duration, error) {
    	latencyQuery := fmt.Sprintf(`histogram_quantile(%f, sum(rate(%s_bucket{%s=~"%s.*", %s=~"%s.*",reporter="destination"}[%s])) by (le))`,
    		quantile, reqDur, destWorkloadLabel, workloadName, destWorkloadNamespaceLabel, workloadNamespace, duration)
    
    	letency, err := vectorValue(promAPI, latencyQuery)
    	if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  7. cmd/rebalance-admin.go

    	NumVersions uint64        `json:"versions"`
    	Bytes       uint64        `json:"bytes"`
    	Bucket      string        `json:"bucket"`
    	Object      string        `json:"object"`
    	Elapsed     time.Duration `json:"elapsed"`
    	ETA         time.Duration `json:"eta"`
    }
    
    type rebalancePoolStatus struct {
    	ID       int               `json:"id"`                 // Pool index (zero-based)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Dec 22 00:56:43 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    		}
    	}
    }
    
    func (ri *batchJobInfo) updateAfter(ctx context.Context, api ObjectLayer, duration time.Duration, job BatchJobRequest) error {
    	if ri == nil {
    		return errInvalidArgument
    	}
    	now := UTCNow()
    	ri.mu.Lock()
    	var (
    		format, version uint16
    		jobTyp          string
    	)
    
    	if now.Sub(ri.LastUpdate) >= duration {
    		switch job.Type() {
    		case madmin.BatchJobReplicate:
    			format = batchReplFormat
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  9. cmd/data-scanner-metric.go

    	return func(sz int) {
    		duration := time.Since(startTime)
    
    		atomic.AddUint64(&p.operations[s], 1)
    		if s < scannerMetricLastRealtime {
    			p.latency[s].addSize(duration, int64(sz))
    		}
    	}
    }
    
    // incTime will increment time on metric s with a specific duration.
    // Use for s < scannerMetricLastRealtime
    func (p *scannerMetrics) incTime(s scannerMetric, d time.Duration) {
    	atomic.AddUint64(&p.operations[s], 1)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  10. internal/config/callhome/help.go

    			Type:        "on|off",
    			Description: "set to enable callhome" + defaultHelpPostfix(Enable),
    			Optional:    true,
    		},
    		config.HelpKV{
    			Key:         Frequency,
    			Type:        "duration",
    			Description: "time duration between callhome cycles e.g. 24h" + defaultHelpPostfix(Frequency),
    			Optional:    true,
    		},
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jun 06 23:14:52 GMT 2022
    - 1.4K bytes
    - Viewed (0)
Back to top