瀏覽代碼

feat(channel-pricing): InitDB 启动时全量加载渠道定价缓存

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
master
fengsilin 1 月之前
父節點
當前提交
e5f029f91e
共有 1 個檔案被更改,包括 5 行新增1 行删除
  1. +5
    -1
      model/main.go

+ 5
- 1
model/main.go 查看文件

@@ -203,7 +203,11 @@ func InitDB() (err error) {
}
common.SysLog("database migration started")
err = migrateDB()
return err
if err != nil {
return err
}
LoadChannelPricingCache()
return nil
} else {
common.FatalLog(err)
}


Loading…
取消
儲存