mirror of
https://github.com/fluencelabs/redis
synced 2025-06-28 08:21:32 +00:00
checkTcpBacklogSetting() now called in Sentinel mode too.
This commit is contained in:
@ -3660,6 +3660,7 @@ int main(int argc, char **argv) {
|
|||||||
if (server.daemonize) createPidFile();
|
if (server.daemonize) createPidFile();
|
||||||
redisSetProcTitle(argv[0]);
|
redisSetProcTitle(argv[0]);
|
||||||
redisAsciiArt();
|
redisAsciiArt();
|
||||||
|
checkTcpBacklogSettings();
|
||||||
|
|
||||||
if (!server.sentinel_mode) {
|
if (!server.sentinel_mode) {
|
||||||
/* Things not needed when running in Sentinel mode. */
|
/* Things not needed when running in Sentinel mode. */
|
||||||
@ -3667,7 +3668,6 @@ int main(int argc, char **argv) {
|
|||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
linuxMemoryWarnings();
|
linuxMemoryWarnings();
|
||||||
#endif
|
#endif
|
||||||
checkTcpBacklogSettings();
|
|
||||||
loadDataFromDisk();
|
loadDataFromDisk();
|
||||||
if (server.cluster_enabled) {
|
if (server.cluster_enabled) {
|
||||||
if (verifyClusterConfigWithData() == REDIS_ERR) {
|
if (verifyClusterConfigWithData() == REDIS_ERR) {
|
||||||
|
Reference in New Issue
Block a user