mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 00:52:38 +00:00
correct cluster inbound link keepalive time (#11785)
(cherry picked from commit a35e08370a
)
(cherry picked from commit 76473f50990e06872d5a08886549815077f5def5)
This commit is contained in:
parent
6ed4dc5052
commit
d49ffeea1c
@ -696,7 +696,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);
|
||||
|
Loading…
Reference in New Issue
Block a user