MXS-2329 Use durations with auth_[connect|read|write]_timeout
This commit is contained in:
@ -336,9 +336,15 @@ backend server before aborting the authentication process. The default is 3
|
||||
seconds.
|
||||
|
||||
```
|
||||
auth_connect_timeout=10
|
||||
auth_connect_timeout=10s
|
||||
```
|
||||
|
||||
The value is specified as documented [here](#durations). If no explicit unit
|
||||
is provided, the value is interpreted as seconds in MaxScale 2.4. In subsequent
|
||||
versions a value without a unit may be rejected. Note that since the granularity
|
||||
of the timeout is seconds, a timeout specified in milliseconds will be rejected,
|
||||
even if the duration is longer than a second.
|
||||
|
||||
#### `auth_read_timeout`
|
||||
|
||||
The read timeout in seconds for the MySQL connection to the backend database
|
||||
@ -350,9 +356,15 @@ connection to the backend servers is slow, it is a good idea to increase this
|
||||
value. The default is 1 second.
|
||||
|
||||
```
|
||||
auth_read_timeout=10
|
||||
auth_read_timeout=10s
|
||||
```
|
||||
|
||||
The value is specified as documented [here](#durations). If no explicit unit
|
||||
is provided, the value is interpreted as seconds in MaxScale 2.4. In subsequent
|
||||
versions a value without a unit may be rejected. Note that since the granularity
|
||||
of the timeout is seconds, a timeout specified in milliseconds will be rejected,
|
||||
even if the duration is longer than a second.
|
||||
|
||||
#### `auth_write_timeout`
|
||||
|
||||
The write timeout in seconds for the MySQL connection to the backend database
|
||||
@ -360,9 +372,15 @@ when user authentication data is fetched. Currently MariaDB MaxScale does not
|
||||
write or modify the data in the backend server. The default is 2 seconds.
|
||||
|
||||
```
|
||||
auth_write_timeout=10
|
||||
auth_write_timeout=10s
|
||||
```
|
||||
|
||||
The value is specified as documented [here](#durations). If no explicit unit
|
||||
is provided, the value is interpreted as seconds in MaxScale 2.4. In subsequent
|
||||
versions a value without a unit may be rejected. Note that since the granularity
|
||||
of the timeout is seconds, a timeout specified in milliseconds will be rejected,
|
||||
even if the duration is longer than a second.
|
||||
|
||||
#### `query_retries`
|
||||
|
||||
The number of times an interrupted internal query will be retried. The default
|
||||
|
||||
Reference in New Issue
Block a user