Skip to content

Commit

Permalink
docs: clarify the unit of a parameter (#542)
Browse files Browse the repository at this point in the history
  • Loading branch information
bednar authored Jan 3, 2023
1 parent df12e0b commit dc95257
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ The batching is configurable by ``write_options``\ :
- Description
- Default Value
* - **batch_size**
- the number of data pointx to collect in a batch
- the number of data point to collect in a batch
- ``1000``
* - **flush_interval**
- the number of milliseconds before the batch is written
Expand Down
7 changes: 4 additions & 3 deletions influxdb_client/client/write_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,11 @@ def __init__(self, write_type: WriteType = WriteType.batching,
:param write_type: methods of write (batching, asynchronous, synchronous)
:param batch_size: the number of data point to collect in batch
:param flush_interval: flush data at least in this interval
:param flush_interval: flush data at least in this interval (milliseconds)
:param jitter_interval: this is primarily to avoid large write spikes for users running a large number of
client instances ie, a jitter of 5s and flush duration 10s means flushes will happen every 10-15s.
:param retry_interval: the time to wait before retry unsuccessful write
client instances ie, a jitter of 5s and flush duration 10s means flushes will happen every 10-15s
(milliseconds)
:param retry_interval: the time to wait before retry unsuccessful write (milliseconds)
:param max_retries: the number of max retries when write fails, 0 means retry is disabled
:param max_retry_delay: the maximum delay between each retry attempt in milliseconds
:param max_retry_time: total timeout for all retry attempts in milliseconds, if 0 retry is disabled
Expand Down

0 comments on commit dc95257

Please sign in to comment.