mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-23 05:37:48 +08:00
恢复合并的limit值
This commit is contained in:
parent
bfcb4d2335
commit
cf23816c80
@ -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) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user