Skip to content

Commit

Permalink
fix get push consumer consumer rt (#1148)
Browse files Browse the repository at this point in the history
Co-authored-by: shixiaoxiao <[email protected]>
  • Loading branch information
woaishixiaoxiao and shixiaoxiao authored Sep 4, 2024
1 parent 98ee94d commit fe4b42e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consumer/statistics.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func (mgr *StatsManager) getPullTPS(group, topic string) statsSnapshot {
}

func (mgr *StatsManager) getConsumeRT(group, topic string) statsSnapshot {
ss := mgr.topicAndGroupPullRT.getStatsDataInMinute(topic + "@" + group)
ss := mgr.topicAndGroupConsumeRT.getStatsDataInMinute(topic + "@" + group)
if ss.sum == 0 {
return mgr.topicAndGroupConsumeRT.getStatsDataInHour(topic + "@" + group)
}
Expand Down

0 comments on commit fe4b42e

Please sign in to comment.