I am chasing a database deadlock issue in my application. What appears to be happening is my SyncConsumers are eating up all the ASGI threads because they are hung and websocket connections start failing.
Is there a way to add a uWSGI "harakiri" like functionality to SyncConsumers to defend against this issue?
Django==3.2.5
channels==3.0.5
channels-redis==3.3.0
asgiref==3.5.2
uvicorn==0.15.0
Thanks.