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 246 }
247 247 try {
248 248 int cleanChannelsResult = deviceChannelMapper.cleanChannelsByDeviceId(deviceId);
249   - int limitCount = 1;
  249 + int limitCount = 300;
250 250 boolean result = cleanChannelsResult < 0;
251 251 if (!result && channels.size() > 0) {
252 252 if (channels.size() > limitCount) {
... ...