Merge pull request 'upated cron func' (#312) from tzwang/pcm-coordinator:master into master

This commit is contained in:
tzwang 2024-09-14 17:18:32 +08:00
commit 9fff1b9786
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ func AddCronGroup(svc *svc.ServiceContext) {
stat.UpdateClusterResources(svc, adapterList)
})
svc.Cron.AddFunc("*/30 * * * * ?", func() {
svc.Cron.AddFunc("@hourly", func() {
status.UpdateAutoStoppedInstance(svc)
})
}