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
4bc42ca7
Commit
4bc42ca7
authored
Jul 29, 2015
by
antirez
Browse files
checkTcpBacklogSetting() now called in Sentinel mode too.
parent
3c8861a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server.c
View file @
4bc42ca7
...
...
@@ -3869,6 +3869,7 @@ int main(int argc, char **argv) {
if
(
background
||
server
.
pidfile
)
createPidFile
();
redisSetProcTitle
(
argv
[
0
]);
redisAsciiArt
();
checkTcpBacklogSettings
();
if
(
!
server
.
sentinel_mode
)
{
/* Things not needed when running in Sentinel mode. */
...
...
@@ -3876,7 +3877,6 @@ int main(int argc, char **argv) {
#ifdef __linux__
linuxMemoryWarnings
();
#endif
checkTcpBacklogSettings
();
loadDataFromDisk
();
if
(
server
.
cluster_enabled
)
{
if
(
verifyClusterConfigWithData
()
==
C_ERR
)
{
...
...
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