diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/databases.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index fff8f928fc..b8dfcea2b7 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -40,6 +40,10 @@ database connection at the end of each request. To enable persistent connections, set :setting:`CONN_MAX_AGE` to a positive integer of seconds. For unlimited persistent connections, set it to ``None``. +When using ASGI, persistent connections should be disabled. Instead, use your +database backend's built-in connection pooling if available, or investigate a +third-party connection pooling option if required. + Connection management ~~~~~~~~~~~~~~~~~~~~~ |
