From 368c9de9c4d640a032fb6270cc8a9392d81b9055 Mon Sep 17 00:00:00 2001 From: chenjialing <595168663@qq.com> Date: Thu, 3 Mar 2022 15:10:30 +0800 Subject: [PATCH] =?UTF-8?q?fixed--=E8=AE=BE=E5=A4=87=E5=88=B7=E6=96=B0?= =?UTF-8?q?=E8=B6=85=E6=97=B6=E6=97=B6=E9=97=B4=E8=AE=BE=E7=BD=AE=E4=B8=BA?= =?UTF-8?q?3s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iot/vmp/vmanager/gb28181/device/DeviceQuery.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/device/DeviceQuery.java b/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/device/DeviceQuery.java index 1d639098..212e1574 100644 --- a/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/device/DeviceQuery.java +++ b/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/device/DeviceQuery.java @@ -153,8 +153,8 @@ public class DeviceQuery { Device device = storager.queryVideoDevice(deviceId); String key = DeferredResultHolder.CALLBACK_CMD_CATALOG + deviceId; String uuid = UUID.randomUUID().toString(); - // 默认超时时间为30分钟 - DeferredResult> result = new DeferredResult>(30*60*1000L); + // 默认超时时间为3秒钟 + DeferredResult> result = new DeferredResult>(3000L); result.onTimeout(()->{ logger.warn("设备[{}]通道信息同步超时", deviceId); // 释放rtpserver