You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to check what is being done wrong here, I have few process running and when the process time is longer then the default rabbimq heartbeat the robust connection is disconnected and cannot connect again.
I'm processing PDF files, like OCR, PDFs with few pages works fine, to workaround I had to change the heatbeat on the connection so I could get more time before disconnected.
Using aio-pika 9.5.0
The text was updated successfully, but these errors were encountered:
if __name__ == "__main__":
loop = asyncio.get_event_loop()
//loop.run_until_complete(main(loop)) remove it
loop.run_in_executor(main(loop)) // add this
loop.run_forever()
I would like to check what is being done wrong here, I have few process running and when the process time is longer then the default rabbimq heartbeat the robust connection is disconnected and cannot connect again.
Connection Code
Processing Code
I'm processing PDF files, like OCR, PDFs with few pages works fine, to workaround I had to change the heatbeat on the connection so I could get more time before disconnected.
Using aio-pika 9.5.0
The text was updated successfully, but these errors were encountered: