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

防止将任务的子任务设置为任务本身 #3604

Open
wankaiyi opened this issue Dec 27, 2024 · 0 comments · May be fixed by #3605
Open

防止将任务的子任务设置为任务本身 #3604

wankaiyi opened this issue Dec 27, 2024 · 0 comments · May be fixed by #3605

Comments

@wankaiyi
Copy link

Which version of XXL-JOB do you using?

v2.4.2

功能描述

给任务设置子任务时,应防止开发者操作失误,将子任务设置为任务本身,这样会导致无限递归调度。
如果真的有需要将子任务设置为任务本身的需求,也应该在执行器的代码层面实现

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 a pull request may close this issue.

1 participant