diff --git a/src/Mangarr.Backend/Program.cs b/src/Mangarr.Backend/Program.cs index fe7f255..d16ac2a 100644 --- a/src/Mangarr.Backend/Program.cs +++ b/src/Mangarr.Backend/Program.cs @@ -40,16 +40,17 @@ builder.Services.AddQuartz(options => { - options.UseDefaultThreadPool(3); - options.AddJob(CacheSourceSchedulerJob.JobKey); - options.AddJob(CacheSourceJob.JobKey, configure => configure.StoreDurably()); + options.AddJob(CacheSourceJob.JobKey, configure => configure.StoreDurably()) + .UseDefaultThreadPool(3); options.AddJob(IndexMangaSchedulerJob.JobKey); - options.AddJob(IndexMangaJob.JobKey, configure => configure.StoreDurably()); + options.AddJob(IndexMangaJob.JobKey, configure => configure.StoreDurably()) + .UseDefaultThreadPool(5); options.AddJob(DownloadChapterSchedulerJob.JobKey); - options.AddJob(DownloadChapterJob.JobKey, configure => configure.StoreDurably()); + options.AddJob(DownloadChapterJob.JobKey, configure => configure.StoreDurably()) + .UseDefaultThreadPool(3); options.AddTrigger(configure => {