Upon reviewing your server logs, it's evident that the timeouts are originating from the server side.
The root cause is the use of BlockingConnection, which can lead to various issues in high-demand scenarios.
I recommend transitioning to an asyncio-based connection to enhance performance and reliability.
In the meantime, ensure you update the heartbeat settings directly on the server side, as adjusting the connection parameters alone is not suffice.
For long-running tasks with BlockingConnection, it's also essential to periodically call self.connection.sleep(0) to keep the heartbeat mechanism active.
This workaround is specific to blocking connections and will help maintain connection stability.
--
You received this message because you are subscribed to a topic in the Google Groups "Pika" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pika-python/uYvutdGRGAs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pika-python...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pika-python/2a94f2c2-0b3e-4e9f-b02e-421f488d7207n%40googlegroups.com.
this is ture if your thread doing long running CPU bound operations and/or does not release the GIL