diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index 8c5f877dfc..5dd3ad1515 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -40,6 +40,12 @@ 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``. +.. warning:: + + Persistent connections :ticket:`do not work <33497>` when running Django + under ASGI. Setting :setting:`CONN_MAX_AGE` to anything other than ``0`` + may cause you to exceed your database connection limit. + Connection management ~~~~~~~~~~~~~~~~~~~~~