Skip to content

Commit

Permalink
取消取消心跳提醒的warn提醒,心跳默认是启用的,所以无心跳时一定是用户人为取消,所以不需要提醒,也不需要每次都warn
Browse files Browse the repository at this point in the history
  • Loading branch information
zhupengfeivip committed Dec 10, 2024
1 parent 6f79d59 commit 5fac8ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/src/main/java/org/tio/client/TioClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ private void startHeartbeatTask() {
public void run() {
while (!tioClientConfig.isStopped()) {
if (tioClientConfig.heartbeatTimeout <= 0) {
log.warn("用户取消了框架层面的心跳定时发送功能,请用户自己去完成心跳机制");
// log.warn("用户取消了框架层面的心跳定时发送功能,请用户自己去完成心跳机制");
break;
}
SetWithLock<ChannelContext> setWithLock = tioClientConfig.connecteds;
Expand Down

0 comments on commit 5fac8ac

Please sign in to comment.