mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-03 15:00:27 +08:00
增加部分数据清理周期设置
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user