This website works better with JavaScript.
Home
Explore
Help
Sign In
server
/
new-api
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
feat(channel-pricing): InitDB 启动时全量加载渠道定价缓存
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
master
fengsilin
3 weeks ago
parent
2d4c73d3aa
commit
e5f029f91e
1 changed files
with
5 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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)
}
Write
Preview
Loading…
Cancel
Save