suchen

Heim  >  Fragen und Antworten  >  Hauptteil

python - apscheduler 如何避免出现 任务miss

就这种:
(trigger: interval[0:00:03], next run at: 2015-02-16 11:13:50.791000)" was missed by 0:00:02.002000

30几个Job,max_threads已经设成50了

高洛峰高洛峰2804 Tage vor3432

Antworte allen(1)Ich werde antworten

  • 黄舟

    黄舟2017-04-17 14:31:33

    misfire_grace_time (int) – the time (in seconds) how much this job’s execution is allowed to be late
    加上这个参数,总算是不会再miss那么多了

    Antwort
    0
  • StornierenAntwort