Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Added USE_UVLOOP setting #80

Merged
merged 3 commits into from Dec 21, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/en/guide/deployment/configuration.md
Expand Up @@ -28,7 +28,7 @@ app.config.update(db_settings)
```
:---

::: tip
::: tip
It is standard practice in Sanic to name your config values in **uppercase letters**. Indeed, you may experience weird behaviors if you start mixing uppercase and lowercase names.
:::

Expand Down Expand Up @@ -112,7 +112,7 @@ app.update_config("${my_path}/my_config.py")
```
:---

::: tip
::: tip
Just remember that you have to provide environment variables in the format `${environment_variable}` and that `$environment_variable` is not expanded (is treated as "plain" text).
:::
#### From a dict
Expand Down Expand Up @@ -179,6 +179,10 @@ app.update_config(MyConfig())
| WEBSOCKET_READ_LIMIT | 2^16 | High-water limit of the buffer for incoming bytes |
| WEBSOCKET_WRITE_LIMIT | 2^16 | High-water limit of the buffer for outgoing bytes |

::: tip FYI
The `USE_UVLOOP` value will be ignored if running with Gunicorn.
prryplatypus marked this conversation as resolved.
Show resolved Hide resolved
:::

::: tip FYI
The `WEBSOCKET_` values will be ignored if in ASGI mode.
:::
Expand Down