diff --git a/venus/task/timer.py b/venus/task/timer.py index ff9d944..7b53dcc 100644 --- a/venus/task/timer.py +++ b/venus/task/timer.py @@ -31,8 +31,8 @@ def init_advanced_timer(): def add_jobs(): sched.add_job(adapter.delete_es_index_job, TRIGGER_INTERVAL, - seconds=60, id='delete_es_index_job') + seconds=120, id='delete_es_index_job') sched.add_job(adapter.delete_anomaly_record_job, TRIGGER_INTERVAL, seconds=600, id='delete_anomaly_record_job') sched.add_job(adapter.anomaly_detect_job, TRIGGER_INTERVAL, - seconds=60, id='anomaly_detect_job') + seconds=120, id='anomaly_detect_job')