Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getHealSequenceByToken (0.17 sec)

  1. cmd/metrics-v2.go

    	mg := &MetricsGroupV2{
    		cacheInterval:    10 * time.Second,
    		metricsGroupOpts: opts,
    	}
    	mg.RegisterRead(func(_ context.Context) (metrics []MetricV2) {
    		bgSeq, exists := globalBackgroundHealState.getHealSequenceByToken(bgHealingUUID)
    		if !exists {
    			return
    		}
    
    		if bgSeq.lastHealActivity.IsZero() {
    			return
    		}
    
    		metrics = make([]MetricV2, 0, 5)
    		metrics = append(metrics, MetricV2{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top