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了

阅读 10k
1 个回答

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

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题