From 41d3a7c24040a9e9fc06096f7a60486a41e975fc Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Thu, 9 Dec 2021 14:23:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E5=8A=A8=E8=BF=9E=E6=8E=A5zlm?= =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E4=BF=AE=E6=94=B9=E4=B8=BA10=E5=88=86?= =?UTF-8?q?=E9=92=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMRunner.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMRunner.java b/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMRunner.java index 4315c8d2..79cb5cc2 100644 --- a/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMRunner.java +++ b/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMRunner.java @@ -104,7 +104,7 @@ public class ZLMRunner implements CommandLineRunner { }); } Timer timer = new Timer(); - // 2分钟后未连接到则不再去主动连接, TODO 并对重启前使用此在zlm的通道发送bye + // 10分钟后未连接到则不再去主动连接, TODO 并对重启前使用此在zlm的通道发送bye timer.schedule(new TimerTask() { @Override public void run() { @@ -117,7 +117,7 @@ public class ZLMRunner implements CommandLineRunner { } // TODO 清理数据库中与redis不匹配的zlm } - }, 60 * 1000 * 2); + }, 60 * 1000 * 10); } @Async