From 6acd2b3df3a4c2c726961d00d7eb8e6ab2c6f93d Mon Sep 17 00:00:00 2001 From: Brandon Weaver Date: Tue, 23 Apr 2024 01:47:50 -0700 Subject: [PATCH] docs: fixed documentatio - batchSize to batch_size Minor inconsistency in options for the `WriteOptions`, switched from `camelCase` to `snake_case`. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aa843dc..a12a9d6 100644 --- a/README.md +++ b/README.md @@ -214,7 +214,7 @@ The writes are processed in batches which are configurable by `WriteOptions`: | Property | Description | Default Value | |--------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------| -| batchSize | the number of data point to collect in batch | 1_000 | +| batch_size | the number of data point to collect in batch | 1_000 | | flush_interval | the number of milliseconds before the batch is written | 1_000 | | retry_interval | the number of milliseconds to retry unsuccessful write. The retry interval is used when the InfluxDB server does not specify "Retry-After" header. | 5_000 | | jitter_interval | the number of milliseconds to increase the batch flush interval by a random amount | 0 |