Skip to content

Commit

Permalink
perf: nsq uses common log (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
JieTrancender authored May 19, 2022
1 parent 509ec03 commit b1b323a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/nsqconsumer/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ func (m *manager) updateTopics() {
log.Errorf("nsq.NewConsumer fail: %v", err)
continue
}
nsqConsumer.SetLogger(log.StdInfoLogger(), nsq.LogLevelInfo)
consumer := &Consumer{
topic: topic,
consumer: nsqConsumer,
Expand Down

0 comments on commit b1b323a

Please sign in to comment.