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

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

@@ -52,7 +52,7 @@ func (this *ServerAccessLogCleaner) Loop() error {
if len(configJSON) == 0 {
return nil
}
var config = &systemconfigs.DatabaseConfig{}
var config = systemconfigs.NewDatabaseConfig()
err = json.Unmarshal(configJSON, config)
if err != nil {
return err