mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 15:47:23 -04:00
[DOCS] update maxRetryTimeout in java REST client usage page
This commit is contained in:
parent
79057b1c61
commit
85df978d80
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ parameters while building the `RestClient` instance:
|
||||||
`setDefaultHeaders`:: default headers that need to be sent with each request,
|
`setDefaultHeaders`:: default headers that need to be sent with each request,
|
||||||
to prevent having to specify them with each single request
|
to prevent having to specify them with each single request
|
||||||
`setMaxRetryTimeoutMillis`:: the timeout that should be honoured in case
|
`setMaxRetryTimeoutMillis`:: the timeout that should be honoured in case
|
||||||
multiple attempts are made for the same request. The default value is 10
|
multiple attempts are made for the same request. The default value is 30
|
||||||
seconds, same as the default socket timeout. In case the socket timeout is
|
seconds, same as the default socket timeout. In case the socket timeout is
|
||||||
customized, the maximum retry timeout should be adjusted accordingly
|
customized, the maximum retry timeout should be adjusted accordingly
|
||||||
`setFailureListener`:: a listener that gets notified every time a node
|
`setFailureListener`:: a listener that gets notified every time a node
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue