[server][ executor]- 优化部分代码 - 2
This commit is contained in:
@@ -193,12 +193,13 @@ public class CommandExecLogCache {
|
|||||||
process
|
process
|
||||||
.info()
|
.info()
|
||||||
.totalCpuDuration()
|
.totalCpuDuration()
|
||||||
|
.get()
|
||||||
);
|
);
|
||||||
|
|
||||||
// 是否需要强行关闭 process 杀死任务进程
|
// 是否需要强行关闭 process 杀死任务进程
|
||||||
if (isKillProcess) {
|
/*if (isKillProcess) {
|
||||||
process.destroyForcibly();
|
process.destroyForcibly();
|
||||||
}
|
}*/
|
||||||
|
|
||||||
String execResultString = String.format(
|
String execResultString = String.format(
|
||||||
"execution result code is => [ %s ]",
|
"execution result code is => [ %s ]",
|
||||||
|
|||||||
Reference in New Issue
Block a user