|
@@ -108,7 +108,7 @@ func (t *TaskServer) Start(ctx context.Context) error {
|
|
|
}
|
|
|
|
|
|
|
|
|
- _, err = t.scheduler.Cron("* * * * *").Do(func() {
|
|
|
+ _, err = t.scheduler.Cron("0 * * * *").Do(func() {
|
|
|
err := t.wafTask.CleanUpStaleRecords(ctx)
|
|
|
if err != nil {
|
|
|
t.log.Error("清理过期记录失败", zap.Error(err))
|