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:
@ -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
|
||||
|
Reference in New Issue
Block a user