- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for purgeJobMetrics (0.76 sec)
-
cmd/server-main.go
globalBatchJobsMetrics = batchJobMetrics{ metrics: make(map[string]*batchJobInfo), } go globalBatchJobsMetrics.init(GlobalContext, newObject) go globalBatchJobsMetrics.purgeJobMetrics() }) // Prints the formatted startup message, if err is not nil then it prints additional information as well. printStartupMessage(getAPIEndpoints(), err)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:18:36 UTC 2025 - 35.9K bytes - Viewed (4) -
cmd/batch-handlers.go
metrics.Jobs[id] = job.metric() } return metrics } // keep job metrics for some time after the job is completed // in-case some one wants to look at the older results. func (m *batchJobMetrics) purgeJobMetrics() { t := time.NewTicker(6 * time.Hour) defer t.Stop() for { select { case <-GlobalContext.Done(): return case <-t.C: var toDeleteJobMetrics []string m.RLock()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 63.5K bytes - Viewed (0)