admin rpc timeout change to 5000ms;

thread name optimize
master
xuxueli 6 years ago
parent 85bf656935
commit 57d6cd9e81
  1. 2
      xxl-job-admin/src/main/java/com/xxl/job/admin/core/schedule/XxlJobDynamicScheduler.java
  2. 1
      xxl-job-admin/src/main/java/com/xxl/job/admin/core/thread/JobFailMonitorHelper.java
  3. 1
      xxl-job-admin/src/main/java/com/xxl/job/admin/core/thread/JobRegistryMonitorHelper.java
  4. 1
      xxl-job-core/src/main/java/com/xxl/job/core/thread/ExecutorRegistryThread.java
  5. 1
      xxl-job-core/src/main/java/com/xxl/job/core/thread/JobLogFileCleanThread.java
  6. 1
      xxl-job-core/src/main/java/com/xxl/job/core/thread/TriggerCallbackThread.java

@ -144,7 +144,7 @@ public final class XxlJobDynamicScheduler {
LoadBalance.ROUND,
ExecutorBiz.class,
null,
10000,
5000,
address,
XxlJobAdminConfig.getAdminConfig().getAccessToken(),
null,

@ -98,6 +98,7 @@ public class JobFailMonitorHelper {
}
});
monitorThread.setDaemon(true);
monitorThread.setName("xxl-job, admin JobFailMonitorHelper");
monitorThread.start();
}

@ -90,6 +90,7 @@ public class JobRegistryMonitorHelper {
}
});
registryThread.setDaemon(true);
registryThread.setName("xxl-job, admin JobRegistryMonitorHelper");
registryThread.start();
}

@ -100,6 +100,7 @@ public class ExecutorRegistryThread extends Thread {
}
});
registryThread.setDaemon(true);
registryThread.setName("xxl-job, executor ExecutorRegistryThread");
registryThread.start();
}

@ -101,6 +101,7 @@ public class JobLogFileCleanThread extends Thread {
}
});
localThread.setDaemon(true);
localThread.setName("xxl-job, executor JobLogFileCleanThread");
localThread.start();
}

@ -99,6 +99,7 @@ public class TriggerCallbackThread {
}
});
triggerCallbackThread.setDaemon(true);
triggerCallbackThread.setName("xxl-job, executor TriggerCallbackThread");
triggerCallbackThread.start();

Loading…
Cancel
Save