Re: How to pass "--runworker --asgi" to wsgi.py

2023-01-13 Thread Bala Subramanyam Vemu
Thank you Andréas ! Regards Bala On Friday, January 13, 2023 at 3:58:12 PM UTC+5:30 andrea...@hypercode.se wrote: > The simple answer is - you can't. > > Django can run in 2 separate ways: Synchronous - via a WSGI server - or > asynchronous via an ASGI server. Websocket requests run via ASGI

Re: How to pass "--runworker --asgi" to wsgi.py

2023-01-13 Thread Andréas Kühne
The simple answer is - you can't. Django can run in 2 separate ways: Synchronous - via a WSGI server - or asynchronous via an ASGI server. Websocket requests run via ASGI - so you need an ASGI server. You can read the official documentation and see your alternatives here: https://docs.djangoprojec

How to pass "--runworker --asgi" to wsgi.py

2023-01-11 Thread Bala Subramanyam Vemu
Hi I am currently using django channels and have deployed them as well However , we currently want to separate the runworker from runserver As mentioned in the channels we have to run "python manage.py runserver ---noworker" so that all the websocket requests can be handled separately how