Enable connection_keepalive by default
Enabling the feature by default prevents the master connection from dying during times when there are very little or no writes. Having a modest ping interval of 300 seconds serves to minimize the amount of extra work that both MaxScale and the server have to do while still keeping the connections in good shape.
This commit is contained in:
@ -503,7 +503,7 @@ extern "C" MXS_MODULE* MXS_CREATE_MODULE()
|
||||
{"strict_multi_stmt", MXS_MODULE_PARAM_BOOL, "false" },
|
||||
{"strict_sp_calls", MXS_MODULE_PARAM_BOOL, "false" },
|
||||
{"master_accept_reads", MXS_MODULE_PARAM_BOOL, "false" },
|
||||
{"connection_keepalive", MXS_MODULE_PARAM_COUNT, "0" },
|
||||
{"connection_keepalive", MXS_MODULE_PARAM_COUNT, "300" },
|
||||
{"causal_reads", MXS_MODULE_PARAM_BOOL, "false" },
|
||||
{"causal_reads_timeout", MXS_MODULE_PARAM_STRING, "10" },
|
||||
{"master_reconnection", MXS_MODULE_PARAM_BOOL, "false" },
|
||||
|
Reference in New Issue
Block a user