According to the
official RabbitMQ docs:
Starting with RabbitMQ 3.11.15, the timeout value can also be set on the per-queue and per-consumer basis.
It would be great if this functionality was exposed via the Pika library, perhaps as new 'consumer_timeout' arguments on the channel and queue-creation functions.
This would allow simpler and more flexible means of handling messages that take a long time to process, as by default there is a server-wide limit set to 30 minutes, after which a consumer connection is forcefully severed.