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

This commit is contained in:
刘祥超
2023-07-01 17:54:40 +08:00
parent ed2b831e5a
commit 0ef7e6ccd8
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
}