简体   繁体   中英

How to queue misfired jobs in Quartz?

Is there a way to queue thousands of misfired jobs in quartz scheduler?

I want to avoid having all misfired jobs to fire all at once.

We're using quartz 2.2.1.

Just limit the amount of concurrently executable jobs.

For example set the property org.quartz.threadPool.threadCount to 10 will cause that only 10 jobs could be executed in parallel. Ie other jobs will be queued (depending on your MisfireInstructions ).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM