Files
data-engine/scheduler/run_sync_task_log_task.go

18 lines
355 B
Go
Raw Normal View History

2026-04-08 09:03:20 +08:00
package main
import (
2026-05-29 18:39:32 +08:00
syncSvc "dataengine/service/sync"
2026-04-08 09:03:20 +08:00
_ "github.com/gogf/gf/contrib/drivers/pgsql/v2"
"github.com/gogf/gf/v2/os/gctx"
"github.com/sirupsen/logrus"
)
func main() {
2026-06-11 13:06:54 +08:00
ctx := gctx.New()
logrus.Info("独立补偿调度器启动")
syncSvc.StartCompensation(ctx)
// StartCompensation 内部有永续循环,不会返回
select {}
2026-04-08 09:03:20 +08:00
}