增加部分数据清理周期设置

This commit is contained in:
GoEdgeLab
2023-07-01 17:54:40 +08:00
parent fadd61a260
commit 9cf7e6c564
13 changed files with 219 additions and 36 deletions

View File

@@ -536,7 +536,7 @@ func upgradeV0_4_1(db *dbs.DB) error {
}
// 执行域名统计清理
err = stats.NewServerDomainHourlyStatDAO().Clean(nil, 7)
err = stats.NewServerDomainHourlyStatDAO().CleanDays(nil, 7)
if err != nil {
return err
}