From 19a00bbd8fdd2683fca4148a523e988f1f34eae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20S=2E=20Hansen?= Date: Sun, 18 Aug 2024 20:48:55 +0200 Subject: [PATCH] Update databases connection caveat --- docs/ref/databases.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index 3db1b57652..131c7a9e64 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -97,7 +97,7 @@ either restore Django's defaults at the end of each request, force an appropriate value at the beginning of each request, or disable persistent connections. -If a connection is created in a long-running process, outside of Django’s +If a connection is created in a long-running process or a sub-thread, outside of Django’s request-response cycle, the connection will remain open until explicitly closed, or timeout occurs. You can use ``django.db.close_old_connections()`` to close all old or unusable connections.