管理端全部功能跑通
This commit is contained in:
@@ -144,6 +144,17 @@ func (this *APINode) Start() {
|
||||
this.processTableNames()
|
||||
dbs.NotifyReady()
|
||||
|
||||
// 自动确保 ClickHouse 日志表存在(不阻断主流程)
|
||||
this.setProgress("CLICKHOUSE", "正在检查 ClickHouse 日志表")
|
||||
logs.Println("[API_NODE]ensuring clickhouse tables ...")
|
||||
err = setup.EnsureClickHouseTables()
|
||||
if err != nil {
|
||||
logs.Println("[API_NODE]WARNING: ensure clickhouse tables failed: " + err.Error())
|
||||
remotelogs.Error("API_NODE", "ensure clickhouse tables failed: "+err.Error())
|
||||
} else {
|
||||
logs.Println("[API_NODE]ensure clickhouse tables done")
|
||||
}
|
||||
|
||||
// 设置时区
|
||||
this.setProgress("TIMEZONE", "正在设置时区")
|
||||
this.setupTimeZone()
|
||||
|
||||
Reference in New Issue
Block a user