async environment and gunicorn #2628
Unanswered
davidshen84
asked this question in
Q&A
Replies: 0 comments
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.
-
Hi,
I can start the app with
python main.py
, but I cannot start it using the "uvicorn" cli app. Also, I want to us the "gunicorn" server. I also noticed, it seems I can only start one worker even though I setworkers
to 4.What is the recommended way to use top level async with uvicorn/gunicorn?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions