Replies: 1 comment 6 replies
-
This should be a bug, we may need to change NETTY_SERVER_HEART_BEAT_TIME to 1000 * 60 * 3 + 1000. cc @CalvinKirs @caishunfeng |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Netty client sends heartbeat to server to keep channel alive every 6 second, the channel will be closed if failed to send, but Netty server will close the channel in 3min without receiving heartbeat, is it too long?
public static final int NETTY_SERVER_HEART_BEAT_TIME = 1000 * 60 * 3 + 1000;
public static final int NETTY_CLIENT_HEART_BEAT_TIME = 1000 * 6;
Beta Was this translation helpful? Give feedback.
All reactions