首頁  >  問答  >  主體

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了

高洛峰高洛峰2741 天前3377

全部回覆(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
  • 取消回覆