Update main.go

This commit is contained in:
Denis-Cosmin Nutiu 2023-03-07 09:32:13 +02:00 committed by GitHub
parent 64256f57cc
commit f03b888438
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,7 +73,7 @@ func main() {
go speedyPusher.RunForever()
isRunning := true
var waitGroup sync.WaitGroup
for i := 0; i < config.KafkaPollingGoroutines; i++ {
for i := 0; i < 1; i++ {
waitGroup.Add(1)
go func() {
defer waitGroup.Done()