修改添加,第一种方法
parent
b671ffbd69
commit
e80e67cf58
|
@ -40,8 +40,7 @@ public class ProductServiceImpl implements ProductService {
|
|||
// HikariDataSource hikariDataSource = getHikariDataSource(dataSources);
|
||||
|
||||
HikariDataSource hikariDataSource = HikariPool.getHikariDataSource(dataSources);
|
||||
|
||||
ExecutorService executorService = Executors.newFixedThreadPool(4);
|
||||
ExecutorService executorService = Executors.newFixedThreadPool(8);
|
||||
|
||||
AtomicInteger addCount = new AtomicInteger();
|
||||
|
||||
|
|
Loading…
Reference in New Issue