I saw in this section of the Quartz.NET documentation tutorial that it should be possible to determine the maximum number of threads the Quartz scheduler will use. In my special case, I want to set this number to 1. But in the API, I could not find a way to access the threadpool instance that my scheduler uses and set any properties on it.
Currently my code is as follows:
ISchedulerFactory schedFact = new StdSchedulerFactory(); IScheduler scheduler = schedFact.GetScheduler(); scheduler.Start(); // Setup jobs and triggers and then call scheduler.ScheduleJob...
Does anyone know how I can set the number of threads in a pool?
Thanks for the help in advance!
Slauma
source share