diff --git a/kernel/job/cron.go b/kernel/job/cron.go index a95119ceb65..a6206877e68 100644 --- a/kernel/job/cron.go +++ b/kernel/job/cron.go @@ -38,12 +38,12 @@ func StartCron() { go every(util.SQLFlushInterval, sql.FlushTxJob) go every(util.SQLFlushInterval, sql.FlushHistoryTxJob) go every(util.SQLFlushInterval, sql.FlushAssetContentTxJob) - //go every(10*time.Minute, model.FixIndexJob) - //go every(10*time.Minute, model.IndexEmbedBlockJob) - //go every(10*time.Minute, model.CacheVirtualBlockRefJob) - //go every(30*time.Second, model.OCRAssetsJob) - //go every(30*time.Second, model.FlushAssetsTextsJob) - //go every(30*time.Second, model.HookDesktopUIProcJob) + go every(10*time.Minute, model.FixIndexJob) + go every(10*time.Minute, model.IndexEmbedBlockJob) + go every(10*time.Minute, model.CacheVirtualBlockRefJob) + go every(30*time.Second, model.OCRAssetsJob) + go every(30*time.Second, model.FlushAssetsTextsJob) + go every(30*time.Second, model.HookDesktopUIProcJob) } func every(interval time.Duration, f func()) {