alibaba/bulbasaur

模板中设置的失败重试的job,无法唤起

DaredevilDA opened this issue · 2 comments

建议更改代码:
com/tmall/pokemon/bulbasaur/schedule/job/FailedRetryJob.java:33

原:
ScheduleMachine scheduleMachine = scheduleMachineFactory.newInstance(jobDO.getBizId());

更改为:
ScheduleMachine scheduleMachine = scheduleMachineFactory.newInstance(jobDO.getBizId(), jobDO.getDefinitionName());

建议更改代码:
com/tmall/pokemon/bulbasaur/schedule/job/FailedRetryJob.java:33

原:
ScheduleMachine scheduleMachine = scheduleMachineFactory.newInstance(jobDO.getBizId());

更改为:
ScheduleMachine scheduleMachine = scheduleMachineFactory.newInstance(jobDO.getBizId(), jobDO.getDefinitionName());

我新打一个版本处理一下

已经更新代码