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

feat(子任务参数传递),主任务回调完成后,触发子任务时将主任务的分片参数和任务参数进行传递,不再默认传null #3383

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ private static void finishJob(XxlJobLog xxlJobLog){
int childJobId = (childJobIds[i]!=null && childJobIds[i].trim().length()>0 && isNumeric(childJobIds[i]))?Integer.valueOf(childJobIds[i]):-1;
if (childJobId > 0) {

JobTriggerPoolHelper.trigger(childJobId, TriggerTypeEnum.PARENT, -1, null, null, null);
JobTriggerPoolHelper.trigger(childJobId, TriggerTypeEnum.PARENT, -1, xxlJobLog.getExecutorShardingParam(), xxlJobLog.getExecutorParam(), null);
ReturnT<String> triggerChildResult = ReturnT.SUCCESS;

// add msg
Expand Down