From c46b26573ece3a026fb1db242b6d7b95780a75ba Mon Sep 17 00:00:00 2001 From: rainzm Date: Mon, 15 Nov 2021 17:23:26 +0800 Subject: [PATCH] feat(region): remove auto clouaccount syncing coronjob --- pkg/compute/service/service.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/compute/service/service.go b/pkg/compute/service/service.go index 6bd8552ff7..d0bd8cd76e 100644 --- a/pkg/compute/service/service.go +++ b/pkg/compute/service/service.go @@ -139,7 +139,6 @@ func StartService() { cron.AddJobAtIntervalsWithStartRun("CalculateDomainQuotaUsages", time.Duration(opts.CalculateQuotaUsageIntervalSeconds)*time.Second, models.DomainQuotaManager.CalculateQuotaUsages, true) cron.AddJobAtIntervalsWithStartRun("CalculateInfrasQuotaUsages", time.Duration(opts.CalculateQuotaUsageIntervalSeconds)*time.Second, models.InfrasQuotaManager.CalculateQuotaUsages, true) - cron.AddJobAtIntervalsWithStartRun("AutoSyncCloudaccountTask", time.Duration(opts.CloudAutoSyncIntervalSeconds)*time.Second, models.CloudaccountManager.AutoSyncCloudaccountTask, true) if opts.AutoReconcileBackupServers { cron.AddJobAtIntervalsWithStartRun("ReconcileBackupGuests", time.Duration(opts.ReconcileGuestBackupIntervalSeconds)*time.Second, models.GuestManager.ReconcileBackupGuests, true) }