提升Catalog数据入库速度
parent
16b1bf6819
commit
03090c7260
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue