aeycee
aeycee

Reputation: 167

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.

Upvotes: 0

Views: 814

Answers (1)

mam10eks
mam10eks

Reputation: 1086

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. I.e. other jobs will be queued (depending on your MisfireInstructions).

Upvotes: 2

Related Questions