mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-09 20:10:25 +08:00
[日志审计]增加删除、清理和别的一些设置
This commit is contained in:
@@ -40,7 +40,7 @@ func (this *SSLCertExpireCheckExecutor) Start() {
|
||||
// 单次执行
|
||||
func (this *SSLCertExpireCheckExecutor) loop(seconds int64) error {
|
||||
// 检查上次运行时间,防止重复运行
|
||||
settingKey := "sslCertExpiringCheck"
|
||||
settingKey := "sslCertExpiringCheckLoop"
|
||||
timestamp := time.Now().Unix()
|
||||
c, err := models.SharedSysSettingDAO.CompareInt64Setting(settingKey, timestamp-seconds)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user