summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorCarlton Gibson <carlton.gibson@noumenal.es>2025-03-13 10:23:00 +0100
committernessita <124304+nessita@users.noreply.github.com>2025-03-18 21:26:57 -0300
commit8713e4ae96817a0c7be3f7a8fee25a7c7f819721 (patch)
tree968d322749fe55b0ed69e13f4c7decbb11445fa7 /docs/ref
parent304e9f3d6ae8387bbfc261d68b51247a1f5230bb (diff)
Fixed #33497 -- Doc'd that persistent DB connections should be disabled in ASGI and async modes.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/databases.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt
index 36a541f212..e5ab0067fe 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
~~~~~~~~~~~~~~~~~~~~~