From e678899a821ba425ba3bd69c11c3bcc4fd13ca2f Mon Sep 17 00:00:00 2001 From: JiaSiRui Date: Tue, 16 Apr 2024 23:19:15 +0800 Subject: [PATCH] change job inteval Change-Id: Ie0489f06481c94cdb0b2223f3407674fa414366e --- venus/task/timer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')