admin rpc timeout change to 5000ms;

thread name optimize
pull/8/MERGE
xuxueli 6 years ago
parent 85bf656935
commit 57d6cd9e81

@ -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