Skip to content

Commit

Permalink
adjust phrasing
Browse files Browse the repository at this point in the history
  • Loading branch information
faec committed Feb 6, 2024
1 parent 255e725 commit 18ead26
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libbeat/publisher/queue/memqueue/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ import (

type config struct {
Events int `config:"events" validate:"min=32"`
// This field is named MaxGetRequst because that's its logical effect, but
// the user-exposed name is "flush.min_events" for backwards compatibility,
// This field is named MaxGetRequest because its logical effect is to give
// a maximum on the number of events a Get request can return, but the
// user-exposed name is "flush.min_events" for backwards compatibility,
// since it used to control buffer size in the internal buffer chain.
MaxGetRequest int `config:"flush.min_events" validate:"min=0"`
FlushTimeout time.Duration `config:"flush.timeout"`
Expand Down

0 comments on commit 18ead26

Please sign in to comment.