diff --git a/xhpc-modules/xhpc-charging-station/src/main/java/com/xhpc/charging/station/service/XhpcChargingPileServiceImpl.java b/xhpc-modules/xhpc-charging-station/src/main/java/com/xhpc/charging/station/service/XhpcChargingPileServiceImpl.java index a831aa62..ac92f1d3 100644 --- a/xhpc-modules/xhpc-charging-station/src/main/java/com/xhpc/charging/station/service/XhpcChargingPileServiceImpl.java +++ b/xhpc-modules/xhpc-charging-station/src/main/java/com/xhpc/charging/station/service/XhpcChargingPileServiceImpl.java @@ -478,7 +478,7 @@ public class XhpcChargingPileServiceImpl extends BaseService implements IXhpcCha //开启多个线程,并行执行操作 //generate qrcode for every terminal ThreadPoolExecutor executor = - new ThreadPoolExecutor(5, 20, 200, TimeUnit.MILLISECONDS, new ArrayBlockingQueue(5)); + new ThreadPoolExecutor(5, 40, 200, TimeUnit.MILLISECONDS, new ArrayBlockingQueue(40)); for (XhpcTerminal xhpcTerminal : xhpcTerminalList) { executor.execute(() -> { //获取场站名称: