mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 08:08:53 -05:00
Disable protected mode in Sentinel mode.
Sentinel must be exposed, so protected mode is just an issue for users in case Redis was started in Sentinel mode. Related to #3279 and #3329.
This commit is contained in:
parent
06a4acb7d3
commit
666b3437e6
@ -459,6 +459,7 @@ struct redisCommand sentinelcmds[] = {
|
||||
* specific defaults. */
|
||||
void initSentinelConfig(void) {
|
||||
server.port = REDIS_SENTINEL_PORT;
|
||||
server.protected_mode = 0; /* Sentinel must be exposed. */
|
||||
}
|
||||
|
||||
/* Perform the Sentinel mode initialization. */
|
||||
|
Loading…
Reference in New Issue
Block a user