mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 08:38:27 -05:00
Slave removal: add a few forgotten aliases for CONFIG SET.
This commit is contained in:
parent
9849cf2df5
commit
411f4b4c12
10
src/config.c
10
src/config.c
@ -1198,14 +1198,24 @@ void configSetCommand(client *c) {
|
|||||||
"repl-diskless-sync-delay",server.repl_diskless_sync_delay,0,INT_MAX) {
|
"repl-diskless-sync-delay",server.repl_diskless_sync_delay,0,INT_MAX) {
|
||||||
} config_set_numerical_field(
|
} config_set_numerical_field(
|
||||||
"slave-priority",server.slave_priority,0,INT_MAX) {
|
"slave-priority",server.slave_priority,0,INT_MAX) {
|
||||||
|
} config_set_numerical_field(
|
||||||
|
"replica-priority",server.slave_priority,0,INT_MAX) {
|
||||||
} config_set_numerical_field(
|
} config_set_numerical_field(
|
||||||
"slave-announce-port",server.slave_announce_port,0,65535) {
|
"slave-announce-port",server.slave_announce_port,0,65535) {
|
||||||
|
} config_set_numerical_field(
|
||||||
|
"replica-announce-port",server.slave_announce_port,0,65535) {
|
||||||
} config_set_numerical_field(
|
} config_set_numerical_field(
|
||||||
"min-slaves-to-write",server.repl_min_slaves_to_write,0,INT_MAX) {
|
"min-slaves-to-write",server.repl_min_slaves_to_write,0,INT_MAX) {
|
||||||
refreshGoodSlavesCount();
|
refreshGoodSlavesCount();
|
||||||
|
} config_set_numerical_field(
|
||||||
|
"min-replicas-to-write",server.repl_min_slaves_to_write,0,INT_MAX) {
|
||||||
|
refreshGoodSlavesCount();
|
||||||
} config_set_numerical_field(
|
} config_set_numerical_field(
|
||||||
"min-slaves-max-lag",server.repl_min_slaves_max_lag,0,INT_MAX) {
|
"min-slaves-max-lag",server.repl_min_slaves_max_lag,0,INT_MAX) {
|
||||||
refreshGoodSlavesCount();
|
refreshGoodSlavesCount();
|
||||||
|
} config_set_numerical_field(
|
||||||
|
"min-replicas-max-lag",server.repl_min_slaves_max_lag,0,INT_MAX) {
|
||||||
|
refreshGoodSlavesCount();
|
||||||
} config_set_numerical_field(
|
} config_set_numerical_field(
|
||||||
"cluster-node-timeout",server.cluster_node_timeout,0,LLONG_MAX) {
|
"cluster-node-timeout",server.cluster_node_timeout,0,LLONG_MAX) {
|
||||||
} config_set_numerical_field(
|
} config_set_numerical_field(
|
||||||
|
Loading…
Reference in New Issue
Block a user