mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
SimpleQueueClient was not thread-safe as the pika method calls that we are using might disconnect and end up in a bad state if two threads enqueue messages at the same time. In order to avoid this, each user of the rabbitmq queue gets its own instance of a SimpleQueueClient. (imported from commit 694083b75cd58a60b8de282a8f40eb92a864c5ce)
2.3 KiB
2.3 KiB