찾다

 >  Q&A  >  본문

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了

高洛峰高洛峰2803일 전3428

모든 응답(1)나는 대답할 것이다

  • 黄舟

    黄舟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那么多了

    회신하다
    0
  • 취소회신하다