change job inteval
Change-Id: Ie0489f06481c94cdb0b2223f3407674fa414366e
This commit is contained in:
parent
81058281be
commit
e678899a82
@ -31,8 +31,8 @@ def init_advanced_timer():
|
|||||||
|
|
||||||
def add_jobs():
|
def add_jobs():
|
||||||
sched.add_job(adapter.delete_es_index_job, TRIGGER_INTERVAL,
|
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,
|
sched.add_job(adapter.delete_anomaly_record_job, TRIGGER_INTERVAL,
|
||||||
seconds=600, id='delete_anomaly_record_job')
|
seconds=600, id='delete_anomaly_record_job')
|
||||||
sched.add_job(adapter.anomaly_detect_job, TRIGGER_INTERVAL,
|
sched.add_job(adapter.anomaly_detect_job, TRIGGER_INTERVAL,
|
||||||
seconds=60, id='anomaly_detect_job')
|
seconds=120, id='anomaly_detect_job')
|
||||||
|
Loading…
Reference in New Issue
Block a user