Skip to content

Commit

Permalink
fix: use default num consumers
Browse files Browse the repository at this point in the history
  • Loading branch information
nityanandagohain committed Oct 6, 2023
1 parent 2855716 commit 8463ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/clickhouselogsexporter/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (cfg *Config) Validate() (err error) {
func (cfg *Config) enforcedQueueSettings() exporterhelper.QueueSettings {
return exporterhelper.QueueSettings{
Enabled: true,
NumConsumers: 1,
NumConsumers: exporterhelper.NewDefaultQueueSettings().NumConsumers,
QueueSize: cfg.QueueSettings.QueueSize,
}
}

0 comments on commit 8463ebd

Please sign in to comment.