Skip to content

Commit

Permalink
RabbitMQ: Fix broken max_length_bytes typo
Browse files Browse the repository at this point in the history
  • Loading branch information
isra17 committed Jul 20, 2023
1 parent 21130de commit cfa15ec
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 @@ -220,7 +220,7 @@ async def queue(self) -> aio_pika.abc.AbstractQueue:
if self.options.max_length:
arguments["x-max-length"] = self.options.max_length
if self.options.max_length_bytes:
arguments["x-max-length-bytes"] = self.options.max_length
arguments["x-max-length-bytes"] = self.options.max_length_bytes
arguments["x-overflow"] = self.options.overflow

channel = await self.channel
Expand Down

0 comments on commit cfa15ec

Please sign in to comment.