You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| rest.client.request-timeout | 60 | Timeout in seconds, applied as a single value to the whole request. Must be a positive number. |
435
+
| rest.client.connection-timeout-ms | 5000 | Time to establish a connection, in milliseconds. Must be a positive number. |
436
+
| rest.client.socket-timeout-ms | 60000 | Time allowed between bytes once a connection is established, in milliseconds. Must be a positive number. |
434
437
| rest.client.max-retries | 5 | Number of retry attempts for transient failures. Must be non-negative. |
435
438
| rest.client.retry-backoff-factor | 1.0 | Backoff factor between retry attempts. Must be non-negative. See [`urllib3` Retry docs](https://urllib3.readthedocs.io/en/latest/reference/urllib3.util.html#urllib3.util.Retry) for the formula. |
436
439
437
-
Retries are applied to idempotent methods only (`GET`, `HEAD`, `OPTIONS`, `PUT`, `DELETE`) and to the
438
-
transient HTTP status codes `429`, `500`, `502`, `503`, `504`. Other failures are not retried.
440
+
`requests`cannot split the connection and socket timeouts, so the two values are summed and applied
441
+
as a single request timeout (floored to whole seconds). Retries are applied to idempotent methods
442
+
only (`GET`, `HEAD`, `OPTIONS`, `PUT`, `DELETE`) and to the transient HTTP status codes `429`, `500`,
443
+
`502`, `503`, `504`. Other failures are not retried.
0 commit comments