Skip to content

Commit

Permalink
Merge pull request #730 from brave-intl/hotfix/cpu-increase
Browse files Browse the repository at this point in the history
Increase worker count
  • Loading branch information
Sneagan authored Jun 4, 2024
2 parents bc6cad8 + ebc2e8d commit 5b9be47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kafka/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func StartConsumers(providedServer *server.Server, logger *zerolog.Logger) error

reader := newConsumer(topics, adsConsumerGroupV1, logger)

batchPipeline := make(chan *MessageContext, 200)
batchPipeline := make(chan *MessageContext, 400)
ctx := context.Background()
go processMessagesIntoBatchPipeline(ctx, topicMappings, reader, batchPipeline, logger)
for {
Expand Down

0 comments on commit 5b9be47

Please sign in to comment.