重构数据引擎和报表引擎

This commit is contained in:
2026-06-11 13:06:54 +08:00
parent 285a0fc632
commit 419473f266
53 changed files with 8434 additions and 375 deletions

View File

@@ -41,3 +41,12 @@ func GetRetryCount(ctx context.Context) int {
}
return r
}
// GetSyncTimeout 获取单次同步超时时间分钟默认120全量超大表可适当调大
func GetSyncTimeout(ctx context.Context) int {
t := g.Cfg().MustGet(ctx, "sync.sync_timeout_minutes", 120).Int()
if t < 1 {
return 120
}
return t
}