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
Copy file name to clipboardexpand all lines: README.rst
+8-5
Original file line number
Diff line number
Diff line change
@@ -256,17 +256,20 @@ The batching is configurable by ``write_options``\ :
256
256
- the number of milliseconds to increase the batch flush interval by a random amount
257
257
- ``0``
258
258
* - **retry_interval**
259
-
- the number of milliseconds to retry unsuccessful write. The retry interval is used when the InfluxDB server does not specify "Retry-After" header.
259
+
- the number of milliseconds to retry first unsuccessful write. The next retry delay is computed using exponential random backoff. The retry interval is used when the InfluxDB server does not specify "Retry-After" header.
260
260
- ``5000``
261
+
* - **max_retry_time**
262
+
- maximum total retry timeout in milliseconds.
263
+
- ``180_000``
261
264
* - **max_retries**
262
265
- the number of max retries when write fails
263
-
- ``3``
266
+
- ``5``
264
267
* - **max_retry_delay**
265
268
- the maximum delay between each retry attempt in milliseconds
266
-
- ``180_000``
269
+
- ``125_000``
267
270
* - **exponential_base**
268
-
- the base for the exponential retry delay, the next delay is computed as ``retry_interval * exponential_base^(attempts-1) + random(jitter_interval)``
269
-
- ``5``
271
+
- the base for the exponential retry delay, the next delay is computed using random exponential backoff as a random value within the interval ``retry_interval * exponential_base^(attempts-1)`` and ``retry_interval * exponential_base^(attempts)``. Example for ``retry_interval=5_000, exponential_base=2, max_retry_delay=125_000, total=5`` Retry delays are random distributed values within the ranges of ``[5_000-10_000, 10_000-20_000, 20_000-40_000, 40_000-80_000, 80_000-125_000]``
0 commit comments