WSGI and uvloop #54
dalf
started this conversation in
Show and tell
Replies: 1 comment 3 replies
-
🤔 why would you call But also: how do you use async code in a sync WSGI app? I'm definitely missing something here.. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
uvloop.install()
in a WSGI application crashes granian with this errorThere is no error with uwsgi for example.
Minimal code:
Use case: an URL endpoint sends multiple HTTP requests, and then aggregate the results. To avoid too many threads, the code uses the async version of httpx.
I did not open an issue because I feel this is an edge case.
Beta Was this translation helpful? Give feedback.
All reactions