Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for cycleCompleted (0.17 sec)

  1. cmd/data-usage-cache_gen.go

    				return
    			}
    		case "cycleCompleted":
    			var zb0002 uint32
    			zb0002, bts, err = msgp.ReadArrayHeaderBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "cycleCompleted")
    				return
    			}
    			if cap(z.cycleCompleted) >= int(zb0002) {
    				z.cycleCompleted = (z.cycleCompleted)[:zb0002]
    			} else {
    				z.cycleCompleted = make([]time.Time, zb0002)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  2. cmd/data-scanner.go

    			if err == nil {
    				// Store new cycle...
    				cycleInfo.next++
    				cycleInfo.current = 0
    				cycleInfo.cycleCompleted = append(cycleInfo.cycleCompleted, time.Now())
    				if len(cycleInfo.cycleCompleted) > dataUsageUpdateDirCycles {
    					cycleInfo.cycleCompleted = cycleInfo.cycleCompleted[len(cycleInfo.cycleCompleted)-dataUsageUpdateDirCycles:]
    				}
    				globalScannerMetrics.setCycle(&cycleInfo)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  3. cmd/data-usage-cache.go

    type currentScannerCycle struct {
    	current        uint64
    	next           uint64
    	started        time.Time
    	cycleCompleted []time.Time
    }
    
    // clone returns a clone.
    func (z currentScannerCycle) clone() currentScannerCycle {
    	z.cycleCompleted = append(make([]time.Time, 0, len(z.cycleCompleted)), z.cycleCompleted...)
    	return z
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  4. cmd/data-scanner-metric.go

    }
    
    func (p *scannerMetrics) report() madmin.ScannerMetrics {
    	var m madmin.ScannerMetrics
    	cycle := p.getCycle()
    	if cycle != nil {
    		m.CurrentCycle = cycle.current
    		m.CyclesCompletedAt = cycle.cycleCompleted
    		m.CurrentStarted = cycle.started
    	}
    	m.CollectedAt = time.Now()
    	m.ActivePaths = p.getCurrentPaths()
    	m.LifeTimeOps = make(map[string]uint64, scannerMetricLast)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
Back to top