Commit 2322f3d8 authored by zhaozhao.zz's avatar zhaozhao.zz Committed by Oran Agra
Browse files

correct cluster inbound link keepalive time (#11785)

(cherry picked from commit a35e0837)
(cherry picked from commit 76473f50990e06872d5a08886549815077f5def5)
parent f084778c
......@@ -710,7 +710,7 @@ void clusterAcceptHandler(aeEventLoop *el, int fd, void *privdata, int mask) {
}
connNonBlock(conn);
connEnableTcpNoDelay(conn);
connKeepAlive(conn,server.cluster_node_timeout * 2);
connKeepAlive(conn,server.cluster_node_timeout / 1000 * 2);
/* Use non-blocking I/O for cluster messages. */
serverLog(LL_VERBOSE,"Accepting cluster node connection from %s:%d", cip, cport);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment