-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
Description
Hi! I'm using aio-pika and I'd like my consumer to stop and restart if it has been cancelled server-side, for exemple if the queue has been deleted on the server.
If I understand correctly, this is not currently possible because aiormq will silently drop the consumer when that happens:
Line 392 in eb1ebe5
| async def _on_cancel_frame( |
Is there another way to do it? Could aiormq cancel the task/future that the consumer is linked to?
Thanks.
Reactions are currently unavailable