From: Yusuke Tamura <62091034+tamtam-fitness@users.noreply.github.com> Date: Sat, 2 Sep 2023 16:55:26 +0000 (+0900) Subject: ✏️ Fix indent format in `docs/en/docs/deployment/server-workers.md` (#10066) X-Git-Tag: 0.103.1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=caf0b688cd7e71da0a207ab5d611a57ce4ac5f13;p=thirdparty%2Ffastapi%2Ffastapi.git ✏️ Fix indent format in `docs/en/docs/deployment/server-workers.md` (#10066) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- diff --git a/docs/en/docs/deployment/server-workers.md b/docs/en/docs/deployment/server-workers.md index 4ccd9d9f69..2df9f3d432 100644 --- a/docs/en/docs/deployment/server-workers.md +++ b/docs/en/docs/deployment/server-workers.md @@ -90,7 +90,9 @@ Let's see what each of those options mean: ``` * So, the colon in `main:app` would be equivalent to the Python `import` part in `from main import app`. + * `--workers`: The number of worker processes to use, each will run a Uvicorn worker, in this case, 4 workers. + * `--worker-class`: The Gunicorn-compatible worker class to use in the worker processes. * Here we pass the class that Gunicorn can import and use with: