WSGI and uvloop #54
Closed
dalf
started this conversation in
Show and tell
Replies: 2 comments 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
-
Should not be an issue since version 1.7.0 :
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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