Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NumSubscribers (0.25 sec)

  1. cmd/data-scanner-metric.go

    		duration := time.Since(startTime)
    
    		atomic.AddUint64(&p.operations[s], 1)
    		if s < scannerMetricLastRealtime {
    			p.latency[s].add(duration)
    		}
    
    		if s > scannerMetricStartTrace && globalTrace.NumSubscribers(madmin.TraceScanner) > 0 {
    			globalTrace.Publish(scannerTrace(s, startTime, duration, strings.Join(paths, " "), custom))
    		}
    	}
    }
    
    // time a scanner action.
    // Use for s < scannerMetricLastRealtime
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
Back to top