Skip to content

Commit

Permalink
Fix accounting bug found by CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrel M. McQueen committed Jan 6, 2025
1 parent 902fee4 commit e733dfa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def __consume_messages_while_alive(self, consumer):
with self.lock:
self.n_msgs_processed += 1
self.n_msgs_processed_since_last_heartbeat += 1
self.n_bytes_read_since_last_heartbeat += get_message_length(msg)
self.n_bytes_processed_since_last_heartbeat += get_message_length(msg)
if not consumer.message_consumed_before(msg):
tps = consumer.commit(msg)
if tps is None:
Expand Down

0 comments on commit e733dfa

Please sign in to comment.