MXS-2271 Move monitor interval to settings container

This commit is contained in:
Esa Korhonen
2019-01-23 18:45:17 +02:00
parent 10dc0f53e0
commit 546b80de4b
5 changed files with 22 additions and 13 deletions

View File

@ -598,7 +598,7 @@ bool do_alter_monitor(Monitor* monitor, const char* key, const char* value)
{
if (auto ival = get_positive_int(value))
{
monitor_set_interval(monitor, ival);
monitor->set_interval(ival);
}
}
else if (strcmp(key, CN_BACKEND_CONNECT_TIMEOUT) == 0)