mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-04 20:02:07 +08:00
线程池 & BrokerMetadata 问题修复
This commit is contained in:
@@ -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")
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user