更新yml配置

This commit is contained in:
kerwincui
2022-03-23 14:42:02 +08:00
parent 977261156b
commit e3c0946553
2 changed files with 2 additions and 3 deletions

View File

@@ -117,8 +117,6 @@ public class EmqxClient {
options.setKeepAliveInterval(keepalive);
//设置自动重新连接
options.setAutomaticReconnect(true);
/*设置为false断开连接不清除session重连后还是原来的session
保留订阅的主题,能接收离线期间的消息*/
options.setCleanSession(clearSession);
logger.debug("====>>>>设置mqtt参数成功");
}