提交 57d6cd9e 编写于 作者: 许雪里's avatar 许雪里

admin rpc timeout change to 5000ms;

thread name optimize
上级 85bf6569
...@@ -144,7 +144,7 @@ public final class XxlJobDynamicScheduler { ...@@ -144,7 +144,7 @@ public final class XxlJobDynamicScheduler {
LoadBalance.ROUND, LoadBalance.ROUND,
ExecutorBiz.class, ExecutorBiz.class,
null, null,
10000, 5000,
address, address,
XxlJobAdminConfig.getAdminConfig().getAccessToken(), XxlJobAdminConfig.getAdminConfig().getAccessToken(),
null, null,
......
...@@ -98,6 +98,7 @@ public class JobFailMonitorHelper { ...@@ -98,6 +98,7 @@ public class JobFailMonitorHelper {
} }
}); });
monitorThread.setDaemon(true); monitorThread.setDaemon(true);
monitorThread.setName("xxl-job, admin JobFailMonitorHelper");
monitorThread.start(); monitorThread.start();
} }
......
...@@ -90,6 +90,7 @@ public class JobRegistryMonitorHelper { ...@@ -90,6 +90,7 @@ public class JobRegistryMonitorHelper {
} }
}); });
registryThread.setDaemon(true); registryThread.setDaemon(true);
registryThread.setName("xxl-job, admin JobRegistryMonitorHelper");
registryThread.start(); registryThread.start();
} }
......
...@@ -100,6 +100,7 @@ public class ExecutorRegistryThread extends Thread { ...@@ -100,6 +100,7 @@ public class ExecutorRegistryThread extends Thread {
} }
}); });
registryThread.setDaemon(true); registryThread.setDaemon(true);
registryThread.setName("xxl-job, executor ExecutorRegistryThread");
registryThread.start(); registryThread.start();
} }
......
...@@ -101,6 +101,7 @@ public class JobLogFileCleanThread extends Thread { ...@@ -101,6 +101,7 @@ public class JobLogFileCleanThread extends Thread {
} }
}); });
localThread.setDaemon(true); localThread.setDaemon(true);
localThread.setName("xxl-job, executor JobLogFileCleanThread");
localThread.start(); localThread.start();
} }
......
...@@ -99,6 +99,7 @@ public class TriggerCallbackThread { ...@@ -99,6 +99,7 @@ public class TriggerCallbackThread {
} }
}); });
triggerCallbackThread.setDaemon(true); triggerCallbackThread.setDaemon(true);
triggerCallbackThread.setName("xxl-job, executor TriggerCallbackThread");
triggerCallbackThread.start(); triggerCallbackThread.start();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册