Merge pull request #7101 from hwware/fixunusedmarco

Fix not used marco in cluster.c
This commit is contained in:
Salvatore Sanfilippo 2020-04-28 11:22:09 +02:00 committed by GitHub
commit 8d821e61d8

View File

@ -2106,7 +2106,7 @@ int clusterProcessPacket(clusterLink *link) {
resetManualFailover();
server.cluster->mf_end = mstime() + CLUSTER_MF_TIMEOUT;
server.cluster->mf_slave = sender;
pauseClients(mstime()+(CLUSTER_MF_TIMEOUT*2));
pauseClients(mstime()+(CLUSTER_MF_TIMEOUT*CLUSTER_MF_PAUSE_MULT));
serverLog(LL_WARNING,"Manual failover requested by replica %.40s.",
sender->name);
} else if (type == CLUSTERMSG_TYPE_UPDATE) {