mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-03-03 14:47:29 +01:00
Only register PullWorker task if it was configured
This commit is contained in:
@@ -116,7 +116,9 @@ func Start(cronCfg, archiveConfig json.RawMessage) {
|
|||||||
RegisterLdapSyncService(lc.SyncInterval)
|
RegisterLdapSyncService(lc.SyncInterval)
|
||||||
}
|
}
|
||||||
|
|
||||||
RegisterMetricPullWorker()
|
if config.Keys.UpstreamMetricRepository != nil {
|
||||||
|
RegisterMetricPullWorker()
|
||||||
|
}
|
||||||
|
|
||||||
RegisterFootprintWorker()
|
RegisterFootprintWorker()
|
||||||
RegisterUpdateDurationWorker()
|
RegisterUpdateDurationWorker()
|
||||||
|
|||||||
Reference in New Issue
Block a user