mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 08:08:53 -05:00
correct cluster inbound link keepalive time (#11785)
This commit is contained in:
parent
7d5382c0ff
commit
a35e08370a
@ -1159,7 +1159,7 @@ void clusterAcceptHandler(aeEventLoop *el, int fd, void *privdata, int mask) {
|
||||
return;
|
||||
}
|
||||
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