fix: update token usage calculation

This commit is contained in:
CaIon
2025-08-16 19:11:15 +08:00
parent aa1f5c6e4e
commit c834694992
3 changed files with 13 additions and 20 deletions

View File

@@ -21,12 +21,6 @@ type QuotaData struct {
}
func UpdateQuotaData() {
// recover
defer func() {
if r := recover(); r != nil {
common.SysLog(fmt.Sprintf("UpdateQuotaData panic: %s", r))
}
}()
for {
if common.DataExportEnabled {
common.SysLog("正在更新数据看板数据...")