Unverified Commit 222c7ca4 authored by 乔占卫's avatar 乔占卫 Committed by GitHub
Browse files

Merge pull request #68 from qiaozhanwei/branch-1.0.0

scheduler command type update and add log
parents 7cb5890d 5c40a3ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ public class ProcessScheduleJob implements Job {
        }

        Command command = new Command();
        command.setCommandType(CommandType.START_PROCESS);
        command.setCommandType(CommandType.SCHEDULER);
        command.setExecutorId(schedule.getUserId());
        command.setFailureStrategy(schedule.getFailureStrategy());
        command.setProcessDefinitionId(schedule.getProcessDefinitionId());
+1 −1
Original line number Diff line number Diff line
@@ -172,7 +172,7 @@ public class FetchTaskThread implements Runnable{
                            FileUtils.createWorkDirAndUserIfAbsent(execLocalPath,
                                    processInstance.getTenantCode(), logger);


                            logger.info("task : {} ready to submit to task scheduler thread",taskId);
                            // submit task
                            workerExecService.submit(new TaskScheduleThread(taskInstance, processDao));
                        }