优化启动后从redis查询推流设备状态

This commit is contained in:
648540858
2024-10-24 16:56:37 +08:00
parent bf3e181bdb
commit af27ae0dfc
2 changed files with 14 additions and 9 deletions

View File

@@ -82,7 +82,6 @@ public class HookSubscribe {
}
public void addSubscribe(Hook hook, HookSubscribe.Event event) {
System.out.println("add==" + hook.toString());
if (hook.getExpireTime() == null) {
hook.setExpireTime(System.currentTimeMillis() + subscribeExpire);
}