mirror of
https://github.com/fluencelabs/redis
synced 2025-06-23 14:01:34 +00:00
Remove cluster stuff from closeListeningSockets() for 2.8.
This commit is contained in:
@ -1895,8 +1895,6 @@ void closeListeningSockets(int unlink_unix_socket) {
|
||||
|
||||
for (j = 0; j < server.ipfd_count; j++) close(server.ipfd[j]);
|
||||
if (server.sofd != -1) close(server.sofd);
|
||||
if (server.cluster_enabled)
|
||||
for (j = 0; j < server.cfd_count; j++) close(server.cfd[j]);
|
||||
if (unlink_unix_socket && server.unixsocket) {
|
||||
redisLog(REDIS_NOTICE,"Removing the unix socket file.");
|
||||
unlink(server.unixsocket); /* don't care if this fails */
|
||||
|
Reference in New Issue
Block a user