Skip to content

Commit

Permalink
s/batchSize/batch_size/
Browse files Browse the repository at this point in the history
Minor inconsistency in options for the `WriteOptions`, switched from `camelCase` to `snake_case`.
  • Loading branch information
baweaver authored Apr 23, 2024
1 parent dd65083 commit a6acf76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit a6acf76

Please sign in to comment.