From cf23816c80771c9e22bb50d0d89feb34d2edca79 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Thu, 13 Jan 2022 16:42:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8D=E5=90=88=E5=B9=B6=E7=9A=84li?= =?UTF-8?q?mit=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iot/vmp/storager/impl/VideoManagerStoragerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/genersoft/iot/vmp/storager/impl/VideoManagerStoragerImpl.java b/src/main/java/com/genersoft/iot/vmp/storager/impl/VideoManagerStoragerImpl.java index cf3f549a..2f4c9664 100644 --- a/src/main/java/com/genersoft/iot/vmp/storager/impl/VideoManagerStoragerImpl.java +++ b/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) {