Browse Source

提升Catalog数据入库速度

648540858 1 year ago
parent
commit
03090c7260

+ 1 - 1
src/main/java/com/genersoft/iot/vmp/gb28181/service/impl/DeviceChannelServiceImpl.java

@@ -538,7 +538,7 @@ public class DeviceChannelServiceImpl implements IDeviceChannelService {
             log.info("通道重设,数据为空={}" , deviceChannelList);
             return false;
         }
-        int limitCount = 50;
+        int limitCount = 500;
         if (!addChannels.isEmpty()) {
             if (addChannels.size() > limitCount) {
                 for (int i = 0; i < addChannels.size(); i += limitCount) {