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

避免上文代码出错导致任务执行时间无法更新从而导致任务无限重复执行 #3615

Closed
wants to merge 2 commits into from

Conversation

yc-8418
Copy link

@yc-8418 yc-8418 commented Jan 8, 2025

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

The description of the PR:

Other information:

@yc-8418
Copy link
Author

yc-8418 commented Jan 8, 2025

当任务量太大的时候,快慢线程池无法继续添加任务时(或者发生了其他异常),会导致代码无法走到更新定时任务执行时间的那段循环代码,将更新操作catch里,确保能成功更新

@yc-8418 yc-8418 changed the title 将更新任务schedule的操作放在上方循环里,避免上文代码出错导致任务执行时间无法更新从而导致任务无限重复执行 避免上文代码出错导致任务执行时间无法更新从而导致任务无限重复执行 Jan 9, 2025
@yc-8418 yc-8418 closed this by deleting the head repository Jan 9, 2025
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.

1 participant