This commit is contained in:
André S. Hansen 2025-11-16 09:20:03 +00:00 committed by GitHub
commit 9258da6835
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -101,7 +101,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 appropriate value at the beginning of each request, or disable persistent
connections. connections.
If a connection is created in a long-running process, outside of Djangos If a connection is created in a process or sub-thread, outside of Djangos
request-response cycle, the connection will remain open until explicitly request-response cycle, the connection will remain open until explicitly
closed, or timeout occurs. You can use ``django.db.close_old_connections()`` to closed, or timeout occurs. You can use ``django.db.close_old_connections()`` to
close all old or unusable connections. close all old or unusable connections.