mirror of
https://gitee.com/san-bing/JChargePointProtocol
synced 2026-05-04 01:49:58 +08:00
线程池命名错误
This commit is contained in:
@@ -79,7 +79,7 @@ public class ShardingThreadPool {
|
||||
int partition = hash(hashFunction, hashKey);
|
||||
|
||||
EXECUTOR_SERVICE_MAP.computeIfAbsent(partition % parallelism,
|
||||
p -> Executors.newFixedThreadPool(1, JCPPThreadFactory.forName("sharding-threads" + p)))
|
||||
p -> Executors.newFixedThreadPool(1, JCPPThreadFactory.forName("sharding-threads-%d" + p)))
|
||||
.execute(runnable);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user