Skip to content

Commit

Permalink
fix log prints
Browse files Browse the repository at this point in the history
  • Loading branch information
wenxuwan committed Apr 23, 2024
1 parent 4d414ca commit ce70fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consumer/push_consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ func (pc *pushConsumer) messageQueueChanged(topic string, mqAll, mqDivided []*pr
newVal = 1
}
rlog.Info("The PullThresholdForQueue is changed", map[string]interface{}{
rlog.LogKeyValueChangedFrom: pc.option.PullThresholdForTopic,
rlog.LogKeyValueChangedFrom: pc.option.PullThresholdForQueue.Load(),
rlog.LogKeyValueChangedTo: newVal,
})
pc.option.PullThresholdForQueue.Store(int64(newVal))
Expand Down

0 comments on commit ce70fee

Please sign in to comment.