线程池 & BrokerMetadata 问题修复

This commit is contained in:
xuguang
2022-01-13 15:35:11 +08:00
parent 52ccaeffd5
commit 9e3bc80495
4 changed files with 25 additions and 10 deletions

View File

@@ -40,7 +40,7 @@ public class ThreadPool {
120L,
TimeUnit.SECONDS,
new LinkedBlockingQueue<>(collectMetricsQueueSize),
new DefaultThreadFactory("Collect-Metrics-Thread")
new DefaultThreadFactory("TaskThreadPool")
);
apiCallThreadPool = new ThreadPoolExecutor(
@@ -49,7 +49,7 @@ public class ThreadPool {
120L,
TimeUnit.SECONDS,
new LinkedBlockingQueue<>(apiCallQueueSize),
new DefaultThreadFactory("Api-Call-Thread")
new DefaultThreadFactory("ApiThreadPool")
);
}