Thank you  Andréas !

Regards
Bala

On Friday, January 13, 2023 at 3:58:12 PM UTC+5:30 [email protected] 
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 - so you 
> need an ASGI server. You can read the official documentation and see your 
> alternatives here:
> https://docs.djangoproject.com/en/4.1/howto/deployment/asgi/
>
> Regards,
>
> Andréas
>
>
> Den ons 11 jan. 2023 kl 19:41 skrev Bala Subramanyam Vemu <
> [email protected]>:
>
>> 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 do we pass the arguments  "--runworker" to the wsgi.py, btw we are 
>> deploying using uwsgi process
>>
>> Thanks 
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/47bb9c0f-e1fd-4c00-a33a-2d9cd85e9706n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/47bb9c0f-e1fd-4c00-a33a-2d9cd85e9706n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c7089d29-df29-4814-adaf-49c467f0e115n%40googlegroups.com.

Reply via email to