MXS-2040 Increase default monitor timeouts

All three timeouts are now three seconds. This should reduce the amount of
timeout errors users get during failover/switchover.
This commit is contained in:
Esa Korhonen
2018-09-10 16:05:33 +03:00
parent ad71655a36
commit c04073a96c
2 changed files with 11 additions and 5 deletions

View File

@ -24,8 +24,8 @@ MXS_BEGIN_DECLS
#define MON_ARG_MAX 8192
#define DEFAULT_CONNECT_TIMEOUT 3
#define DEFAULT_READ_TIMEOUT 1
#define DEFAULT_WRITE_TIMEOUT 2
#define DEFAULT_READ_TIMEOUT 3
#define DEFAULT_WRITE_TIMEOUT 3
#define DEFAULT_CONNECTION_ATTEMPTS 1
#define DEFAULT_MONITOR_INTERVAL 2000 // in milliseconds