MXS-2142: Set causal_reads_timeout default to 10

The causal_reads_timeout default value is too long when considering the
behavioral changes that MXS-2141 introduced. With a 10 second default
value, a result is returned to the client in a reasonable amount of time.
This commit is contained in:
Markus Mäkelä
2018-11-06 12:32:20 +02:00
parent e56372b153
commit 4341c2b6e2
2 changed files with 3 additions and 3 deletions

View File

@ -492,7 +492,7 @@ extern "C" MXS_MODULE* MXS_CREATE_MODULE()
{"master_accept_reads", MXS_MODULE_PARAM_BOOL, "false" },
{"connection_keepalive", MXS_MODULE_PARAM_COUNT, "0" },
{"causal_reads", MXS_MODULE_PARAM_BOOL, "false" },
{"causal_reads_timeout", MXS_MODULE_PARAM_STRING, "120" },
{"causal_reads_timeout", MXS_MODULE_PARAM_STRING, "10" },
{"master_reconnection", MXS_MODULE_PARAM_BOOL, "false" },
{"delayed_retry", MXS_MODULE_PARAM_BOOL, "false" },
{"delayed_retry_timeout", MXS_MODULE_PARAM_COUNT, "10" },