Skip to content

Commit

Permalink
Merge pull request #44232 from mkouba/quartz-thread-pool-count
Browse files Browse the repository at this point in the history
Quartz: use a more reasonable default for quarkus.quartz.thread-count
  • Loading branch information
manovotn authored Nov 4, 2024
2 parents 0fbfc31 + a1e65b1 commit f23d420
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@ public class QuartzRuntimeConfig {
public int batchTriggerAcquisitionMaxCount;
/**
* The size of scheduler thread pool. This will initialize the number of worker threads in the pool.
* <p>
* It's important to bear in mind that Quartz threads are not used to execute scheduled methods, instead the regular Quarkus
* thread pool is used by default. See also {@code quarkus.quartz.run-blocking-scheduled-method-on-quartz-thread}.
*/
@ConfigItem(defaultValue = "25")
@ConfigItem(defaultValue = "10")
public int threadCount;

/**
Expand Down

0 comments on commit f23d420

Please sign in to comment.