mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 21:41:32 +00:00
Sentinel: allow SHUTDOWN command in Sentinel mode.
This commit is contained in:
@ -2080,7 +2080,8 @@ int prepareForShutdown(int flags) {
|
||||
}
|
||||
/* Close the listening sockets. Apparently this allows faster restarts. */
|
||||
closeListeningSockets(1);
|
||||
redisLog(REDIS_WARNING,"Redis is now ready to exit, bye bye...");
|
||||
redisLog(REDIS_WARNING,"%s is now ready to exit, bye bye...",
|
||||
server.sentinel_mode ? "Sentinel" : "Redis");
|
||||
return REDIS_OK;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user