How to know the size of the threadpool ? and why --workers makes no difference on concurrency #8596
-
First Check
Commit to Help
Example Codeuvicorn run:app --host 0.0.0.0 --port 8000 --workers 2DescriptionHi, I have tested locally: Operating SystemmacOS Operating System DetailsMacpro 2020 FastAPI Version0.70.0 Python VersionPython 3.7.9 Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
You will have to be more specific as to which thread pool you are referring to. |
Beta Was this translation helpful? Give feedback.
-
|
uvicorn doc -> https://www.uvicorn.org/settings/#production then if you don't understand how python and asyncio work -> #4265 (comment) |
Beta Was this translation helpful? Give feedback.
uvicorn doc -> https://www.uvicorn.org/settings/#production
then if you don't understand how python and asyncio work -> #4265 (comment)