MXS-1317: Change default for monitor_interval to 2000

The default value for monitor_interval is now 2000 milliseconds.
This commit is contained in:
Markus Mäkelä
2017-07-28 11:30:07 +03:00
parent 788386cfee
commit 1034641fa5
3 changed files with 13 additions and 2 deletions

View File

@ -16,7 +16,13 @@ the `monitorpw` parameter, that value will be used instead.
### `monitor_interval` ### `monitor_interval`
This is the time the monitor waits between each cycle of monitoring. The default value of 10000 milliseconds (10 seconds) should be lowered if you want a faster response to changes in the server states. The value is defined in milliseconds and the smallest possible value is 100 milliseconds. This is the time the monitor waits between each cycle of monitoring. The default
value of 2000 milliseconds (2 seconds) should be lowered if you want a faster
response to changes in the server states. The value is defined in milliseconds
and the smallest possible value is 100 milliseconds.
The default value of _monitor_interval_ was updated from 10000 milliseconds to
2000 milliseconds in MaxScale 2.2.0.
``` ```
monitor_interval=2500 monitor_interval=2500

View File

@ -32,6 +32,11 @@ string parameter and are removed before compiling the pattern. For backwards
compatibility, the slashes are not yet mandatory. Omitting them is, however, compatibility, the slashes are not yet mandatory. Omitting them is, however,
deprecated and will be rejected in the next release of MaxScale. deprecated and will be rejected in the next release of MaxScale.
### `monitor_interval`
The default value of `monitor_interval` was changed from 10000 milliseconds to
2000 milliseconds.
### NamedServerFilter ### NamedServerFilter
The filter now accepts multiple match-server pairs. Please see the The filter now accepts multiple match-server pairs. Please see the

View File

@ -27,7 +27,7 @@ MXS_BEGIN_DECLS
#define DEFAULT_WRITE_TIMEOUT 2 #define DEFAULT_WRITE_TIMEOUT 2
#define DEFAULT_CONNECTION_ATTEMPTS 1 #define DEFAULT_CONNECTION_ATTEMPTS 1
#define MONITOR_DEFAULT_INTERVAL 10000 // in milliseconds #define MONITOR_DEFAULT_INTERVAL 2000 // in milliseconds
/** /**
* Monitor network timeout types * Monitor network timeout types