Browse Source
✏️ 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>
pull/10204/head
Yusuke Tamura
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
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`. |
|
|
* 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. |
|
|
* `--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. |
|
|
* `--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: |
|
|
* Here we pass the class that Gunicorn can import and use with: |
|
|
|
|
|
|
|
|