恢复合并的limit值

This commit is contained in:
648540858 2022-01-13 16:42:58 +08:00
parent 0949c2f4cc
commit aeed1d465f

View File

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