Commit 5fa20fb9 by 许雪里 Committed by GitHub

Merge pull request #3198 from FaithHan/feature-jobthread

修复JobThread线程名称问题,日志打印格式保持一致
2 parents 55a09d25 362af7d3
...@@ -143,6 +143,7 @@ public class JobThread extends Thread{ ...@@ -143,6 +143,7 @@ public class JobThread extends Thread{
} }
}); });
futureThread = new Thread(futureTask); futureThread = new Thread(futureTask);
futureThread.setName(getName());
futureThread.start(); futureThread.start();
Boolean tempResult = futureTask.get(triggerParam.getExecutorTimeout(), TimeUnit.SECONDS); Boolean tempResult = futureTask.get(triggerParam.getExecutorTimeout(), TimeUnit.SECONDS);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!