Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
a35e0837
"vscode:/vscode.git/clone" did not exist on "e06a560466e53b3a8a8e2b2fa232635ef962b1db"
Unverified
Commit
a35e0837
authored
Feb 16, 2023
by
zhaozhao.zz
Committed by
GitHub
Feb 16, 2023
Browse files
correct cluster inbound link keepalive time (#11785)
parent
7d5382c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
a35e0837
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment