From 4bc42ca7f6608c3e77c451c580c4b9c629480169 Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 29 Jul 2015 12:13:20 +0200 Subject: [PATCH] checkTcpBacklogSetting() now called in Sentinel mode too. --- src/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.c b/src/server.c index dd906ed99..5ceef9aef 100644 --- a/src/server.c +++ b/src/server.c @@ -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) {