Browse Source

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

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
master
fengsilin 3 weeks ago
parent
commit
e5f029f91e
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      model/main.go

+ 5
- 1
model/main.go View File

@@ -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…
Cancel
Save