Skip to content

Commit

Permalink
forgot to return heap
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettthomas committed Aug 27, 2020
1 parent 49c0390 commit 2023cd9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions esque/clients/consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ def _consume_message_to_heap(consumer: AbstractConsumer, heap: list):
message = consumer.consume_single_acceptable_message()
decoded_message = decode_message(message)
heappush(heap, (decoded_message.timestamp, message))
return heap


def consume_to_files(
Expand Down

0 comments on commit 2023cd9

Please sign in to comment.