Skip to content

Commit

Permalink
Remove max wait (so now 10s)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakShearman committed Jun 28, 2023
1 parent cfb7217 commit bd57be2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/kafka/consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"mc-player-service/internal/repository/model"
"mc-player-service/internal/utils"
"sync"
"time"
)

const connectionsTopic = "mc-connections"
Expand Down Expand Up @@ -48,8 +47,6 @@ func NewConsumer(ctx context.Context, wg *sync.WaitGroup, config *config.KafkaCo
ErrorLogger: kafka.LoggerFunc(func(format string, args ...interface{}) {
logger.Errorw(fmt.Sprintf(format, args...))
}),

MaxWait: 5 * time.Second,
})

c := &consumer{
Expand Down

0 comments on commit bd57be2

Please sign in to comment.