Merge pull request 'fix(exclude): ban the exclusive mode' (#49) from tania_local into dev
Reviewed-on: freeleaps/freeleaps-service-hub#49
This commit is contained in:
commit
be2acb5c87
@ -39,7 +39,7 @@ class AsyncMQSubscriber(AsyncMQClient):
|
||||
try:
|
||||
await self.bind(max_retries=5, event_loop=event_loop)
|
||||
await self.queue.consume(
|
||||
no_ack=False, exclusive=True, callback=self.process_incoming_message
|
||||
no_ack=False, exclusive=False, callback=self.process_incoming_message
|
||||
)
|
||||
break # Exit loop if subscription is successful
|
||||
except Exception as e:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user