Skip to content

Commit

Permalink
Merge pull request #114 from bonitoo-io/fix/docs-default-retry-interv…
Browse files Browse the repository at this point in the history
…al-#108

fix: Fixing comment for retry interval (#108)
  • Loading branch information
vlastahajek authored May 5, 2020
2 parents 6088ace + cf892ad commit 8e00135
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
- [#107](https://github.com/influxdata/influxdb-client-go/pull/100) Renamed `InfluxDBClient` interface to `Client`, so the full name `influxdb2.Client` suits better to Go naming conventions

### Bug fixes
1. [#108](https://github.com/influxdata/influxdb-client-go/issues/108) Fix default retry interval doc
1. [#110](https://github.com/influxdata/influxdb-client-go/issues/110) Allowing empty (nil) values


### Documentation
- [#112](https://github.com/influxdata/influxdb-client-go/pull/112) Clarify how to use client with InfluxDB 1.8+

Expand Down
4 changes: 2 additions & 2 deletions options.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type Options struct {
batchSize uint
// Interval, in ms, in which is buffer flushed if it has not been already written (by reaching batch size) . Default 1000ms
flushInterval uint
// Default retry interval in ms, if not sent by server. Default 30s
// Default retry interval in ms, if not sent by server. Default 1000ms
retryInterval uint
// Maximum count of retry attempts of failed writes
maxRetries uint
Expand Down Expand Up @@ -56,7 +56,7 @@ func (o *Options) SetFlushInterval(flushIntervalMs uint) *Options {
return o
}

// RetryInterval returns retry interval in ms
// RetryInterval returns the retry interval in ms
func (o *Options) RetryInterval() uint {
return o.retryInterval
}
Expand Down

0 comments on commit 8e00135

Please sign in to comment.