Skip to content

Commit

Permalink
RabbitMQTopic: set max_publish_concurrency to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Michaud authored and infherny committed Nov 29, 2023
1 parent 5dab2fc commit 3644719
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 @@ -82,7 +82,7 @@ class Options:
prefetch_count: t.Optional[int] = 1
serializer: RabbitMQSerializer = RabbitMQSerializer.JSON
log_above_size: t.Optional[int] = None
max_publish_concurrency: int = 8
max_publish_concurrency: int = 0
max_retry: int | None = None
arguments: dict[str, t.Any] = dataclasses.field(default_factory=dict)
exchange: Exchange | None = None
Expand Down

0 comments on commit 3644719

Please sign in to comment.