Closed nodyang closed 4 years ago
您好,前段时间忙没来得及处理这个问题,十分抱歉。 经过我反复测试确实存在这个bug,查看了Quartz.Net官方文档和源码,发现这是由线程池配置引发的问题,可以参考: https://www.quartz-scheduler.net/documentation/quartz-3.x/configuration/reference.html#threadpool
Quartz默认线程池数量是10,因此超出这个数量的任务并发执行时会出现丢失现象,按需要调高即可:
If you have tens of thousands of jobs, with many firing every minute, then you probably want a max concurrency count more like 50 or 100 (this highly depends on the nature of the work that your jobs perform, and your systems resources!).
我会在下次更新中增加节点并发度自定义配置项,请继续关注。