asyncio-gevent icon indicating copy to clipboard operation
asyncio-gevent copied to clipboard

Is this module the magic that I need?

Open bioworkflows opened this issue 2 years ago • 0 comments

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 received SynchronousOnlyOperation 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 use gevent's event loop for asyncio, but I am not quite sure if it will work.

bioworkflows avatar Aug 11 '23 15:08 bioworkflows