Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this module the magic that I need? #13

Open
bioworkflows opened this issue Aug 11, 2023 · 0 comments
Open

Is this module the magic that I need? #13

bioworkflows opened this issue Aug 11, 2023 · 0 comments

Comments

@bioworkflows
Copy link

bioworkflows commented Aug 11, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant