Modified refreshInstance to support max_slave_replication_lag.
This commit is contained in:
parent
57a977bdc0
commit
3b6b33b7dd
@ -316,6 +316,13 @@ static void refreshInstance(
|
||||
router->rwsplit_config.rw_max_slave_conn_count =
|
||||
config_get_valint(param, NULL, paramtype);
|
||||
}
|
||||
else if (strncmp(param->name,
|
||||
"max_slave_replication_lag",
|
||||
MAX_PARAM_LEN) == 0)
|
||||
{
|
||||
router->rwsplit_config.rw_max_slave_replication_lag =
|
||||
config_get_valint(param, NULL, paramtype);
|
||||
}
|
||||
}
|
||||
else if (paramtype == PERCENT_TYPE)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user