Commit cf23816c80771c9e22bb50d0d89feb34d2edca79

Authored by 648540858
1 parent bfcb4d23

恢复合并的limit值

src/main/java/com/genersoft/iot/vmp/storager/impl/VideoManagerStoragerImpl.java
@@ -246,7 +246,7 @@ public class VideoManagerStoragerImpl implements IVideoManagerStorager { @@ -246,7 +246,7 @@ public class VideoManagerStoragerImpl implements IVideoManagerStorager {
246 } 246 }
247 try { 247 try {
248 int cleanChannelsResult = deviceChannelMapper.cleanChannelsByDeviceId(deviceId); 248 int cleanChannelsResult = deviceChannelMapper.cleanChannelsByDeviceId(deviceId);
249 - int limitCount = 1; 249 + int limitCount = 300;
250 boolean result = cleanChannelsResult < 0; 250 boolean result = cleanChannelsResult < 0;
251 if (!result && channels.size() > 0) { 251 if (!result && channels.size() > 0) {
252 if (channels.size() > limitCount) { 252 if (channels.size() > limitCount) {