Commit 362af7d3 by hanfei

修复JobThread线程名称问题,日志打印格式保持一致

1 parent 6effc8b9
...@@ -148,6 +148,7 @@ public class JobThread extends Thread{ ...@@ -148,6 +148,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!