change log for invalid cluster port (#8343)
Update log message to correctly indicate cluster port range
This commit is contained in:
parent
4f9de66f0e
commit
53cdf8a3d1
@ -509,8 +509,7 @@ void clusterInit(void) {
|
|||||||
serverLog(LL_WARNING, "Redis port number too high. "
|
serverLog(LL_WARNING, "Redis port number too high. "
|
||||||
"Cluster communication port is 10,000 port "
|
"Cluster communication port is 10,000 port "
|
||||||
"numbers higher than your Redis port. "
|
"numbers higher than your Redis port. "
|
||||||
"Your Redis port number must be "
|
"Your Redis port number must be 55535 or less.");
|
||||||
"lower than 55535.");
|
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
if (listenToPort(port+CLUSTER_PORT_INCR,
|
if (listenToPort(port+CLUSTER_PORT_INCR,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user