Skip to content

Commit

Permalink
fix: use default value of 10
Browse files Browse the repository at this point in the history
sync default value with docappender default
  • Loading branch information
kruskall committed Nov 10, 2023
1 parent 2b13b9d commit 3f0ccbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/beater/beater.go
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,7 @@ func (s *Runner) newFinalBatchProcessor(
}
esConfig.FlushInterval = time.Second
esConfig.Config = elasticsearch.DefaultConfig()
esConfig.MaxIdleConnsPerHost = 10
if err := s.elasticsearchOutputConfig.Unpack(&esConfig); err != nil {
return nil, nil, err
}
Expand Down

0 comments on commit 3f0ccbc

Please sign in to comment.