Skip to content

Commit

Permalink
[chore] minor fix in the doc (#7808)
Browse files Browse the repository at this point in the history
SendBatchSize was incorrectly saying that a value of 0 implies ignoring the timeout.

Signed-off-by: Alex Boten <[email protected]>
  • Loading branch information
Alex Boten committed Jun 1, 2023
1 parent 1087521 commit 9104611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processor/batchprocessor/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type Config struct {
Timeout time.Duration `mapstructure:"timeout"`

// SendBatchSize is the size of a batch which after hit, will trigger it to be sent.
// SendBatchSize of 0 implies ignoring timeout, data will be sent immediately
// When this is set to zero, the batch size is ignored and data will be sent immediately
// subject to only send_batch_max_size.
SendBatchSize uint32 `mapstructure:"send_batch_size"`

Expand Down

0 comments on commit 9104611

Please sign in to comment.