mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-12-31 02:46:16 +01:00
Remove metricData usage
Is replaced by builtin memorystore API
This commit is contained in:
@@ -116,10 +116,11 @@ func Start(cronCfg, archiveConfig json.RawMessage) {
|
||||
RegisterLdapSyncService(lc.SyncInterval)
|
||||
}
|
||||
|
||||
RegisterMetricPullWorker()
|
||||
|
||||
RegisterFootprintWorker()
|
||||
RegisterUpdateDurationWorker()
|
||||
RegisterCommitJobService()
|
||||
RegisterMetricPullWorker()
|
||||
|
||||
s.Start()
|
||||
}
|
||||
@@ -127,6 +128,8 @@ func Start(cronCfg, archiveConfig json.RawMessage) {
|
||||
// Shutdown stops the task manager and its scheduler.
|
||||
func Shutdown() {
|
||||
if s != nil {
|
||||
s.Shutdown()
|
||||
if err := s.Shutdown(); err != nil {
|
||||
cclog.Errorf("taskmanager Shutdown: error stopping scheduler: %v", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user