fix: update token usage calculation

This commit is contained in:
CaIon committed 2025-08-16 19:11:15 +08:00
1 parent a6c5b6d09f
commit 4e3f008ae9
3 files changed
+13 -20

No files matched your search

-6
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("正在更新数据看板数据...")