Skip to content
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

perf: 定时任务服务支持优雅停机 #2852 #3362

Merged
merged 3 commits into from
Dec 27, 2024

Conversation

jsonwan
Copy link
Collaborator

@jsonwan jsonwan commented Dec 26, 2024

  1. 操作Quartz引擎前先检查其关闭状态;
  2. 批量加载定时任务到Quartz支持被中断;
  3. 进程关闭时取消批量加载任务;
  4. 使用Spring Bean的关闭机制替代Quartz插件关闭钩子,避免Quartz过早关闭。

1. 操作Quartz引擎前先检查其关闭状态。
1. 批量加载定时任务到Quartz支持被中断;
2. 进程关闭时取消批量加载任务。
1. 使用Spring Bean的关闭机制替代Quartz插件关闭钩子,避免Quartz过早关闭。
@jsonwan jsonwan merged commit 09deee6 into TencentBlueKing:master Dec 27, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants