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 do not quite understand how gevent, asyncio, gunicorn interacts, but is this module the one that I need to resolve the problem? The documentation seems to suggest that I only need to use gevent's event loop for asyncio, but I am not quite sure if it will work.
The text was updated successfully, but these errors were encountered:
I have described my problem in https://stackoverflow.com/questions/76880897/django-running-async-code-in-wsgi-mode-causes-synchronousonlyoperation-error . Basically, I am running a Django application on top of
unicorn --worker-class gevent
. I implemented one view function using asyncio and receivedSynchronousOnlyOperation
exceptions.I do not quite understand how
gevent
,asyncio
,gunicorn
interacts, but is this module the one that I need to resolve the problem? The documentation seems to suggest that I only need to usegevent
's event loop forasyncio
, but I am not quite sure if it will work.The text was updated successfully, but these errors were encountered: