我在跑elastalert
一直遇到
WARNING:apscheduler.scheduler:Execution of job "ElastAlerter.handle_rule_execution (trigger: interval[0:01:00], next run at: 2021-01-07 15:48:51 CST)" skipped: maximum number of running instances reached (1)
請問要如何增大instances
我看了elastalert.py
把self.scheduler = BackgroundScheduler()
改成self.scheduler = BackgroundScheduler('apscheduler.job_defaults.max_instances', 3)
但會報錯
TypeError: init() takes from 1 to 2 positional arguments but 3 were given
還是說可以直接改底層讓python去執行時直接讓實例x3