-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Quartz StartupDelay option #3454
Add Quartz StartupDelay option #3454
Conversation
framework/src/Volo.Abp.Quartz/Volo/Abp/Quartz/AbpQuartzModule.cs
Outdated
Show resolved
Hide resolved
framework/src/Volo.Abp.Quartz/Volo/Abp/Quartz/AbpQuartzModule.cs
Outdated
Show resolved
Hide resolved
hi @olicooper |
@olicooper Hi ,I see the |
@maliming my use case for this is that I need some jobs to run before any Quartz jobs and I also want to give the rest of the system time to load before jobs are loaded and configured (as they are less important than other core areas of the system). |
Quartz's delay is just And |
When Jobs are persisted in a database the previously saved start/end times tell Quartz if the job failed to run (due to down time etc). By adding a start delay to the whole Quartz scheduler, we delay all of the database queries that Quartz executes to restart those jobs which reduces the burden when the system starts. I don't think I am able to add the
^^ @liangshiw Sorry, I am not sure what you mean by this. I don't think the scheduler starts to process jobs until the |
Thanks. |
No description provided.