Skip to content

Commit

Permalink
rabbitmq: Actually log size above
Browse files Browse the repository at this point in the history
  • Loading branch information
isra17 committed Jun 15, 2023
1 parent ce355d1 commit cb274f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/saturn_engine/worker/topics/rabbitmq.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def _serialize(self, message: TopicMessage) -> bytes:
serialized_message_len = len(serialized_message)
if (
self.options.log_above_size
and self.options.log_above_size > serialized_message_len
and self.options.log_above_size < serialized_message_len
):
self.logger.warning(
"Sending large message",
Expand Down

0 comments on commit cb274f3

Please sign in to comment.