Browse Source

恢复合并的limit值

pull/311/head
648540858 3 years ago
parent
commit
cf23816c80
  1. 2
      src/main/java/com/genersoft/iot/vmp/storager/impl/VideoManagerStoragerImpl.java

2
src/main/java/com/genersoft/iot/vmp/storager/impl/VideoManagerStoragerImpl.java

@ -246,7 +246,7 @@ public class VideoManagerStoragerImpl implements IVideoManagerStorager {
}
try {
int cleanChannelsResult = deviceChannelMapper.cleanChannelsByDeviceId(deviceId);
int limitCount = 1;
int limitCount = 300;
boolean result = cleanChannelsResult < 0;
if (!result && channels.size() > 0) {
if (channels.size() > limitCount) {

Loading…
Cancel
Save