fix: The constructor has passed in an taskAppId, no need to get from taskAppId. (#1906)

This commit is contained in:
Rubik 2020-02-07 16:13:50 +08:00 committed by GitHub
parent b3b075d915
commit fccbcc8d7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -147,9 +147,6 @@ public abstract class AbstractCommandExecutor {
// get process id
int pid = getProcessId(process);
// task instance id
int taskInstId = Integer.parseInt(taskAppId.split("_")[2]);
processDao.updatePidByTaskInstId(taskInstId, pid, "");
logger.info("process start, process id is: {}", pid);