Skip to content

Commit

Permalink
fix pullThresholdSizeForTopic invalid (#814)
Browse files Browse the repository at this point in the history
* fix pullThresholdSizeForTopic invalid

* fix code style

Co-authored-by: longjunhu <hulongjun@douyu.tv>
Co-authored-by: dinglei <libya_003@163.com>
  • Loading branch information
3 people committed Jul 21, 2022
1 parent db78506 commit d802a4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions consumer/push_consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ func (pc *pushConsumer) messageQueueChanged(topic string, mqAll, mqDivided []*pr
rlog.LogKeyValueChangedFrom: pc.option.PullThresholdSizeForTopic,
rlog.LogKeyValueChangedTo: newVal,
})
pc.option.PullThresholdSizeForTopic = newVal
}
}
pc.client.SendHeartbeatToAllBrokerWithLock()
Expand Down

0 comments on commit d802a4d

Please sign in to comment.