diff options
| author | Salvo Polizzi <101474753+salvo-polizzi@users.noreply.github.com> | 2024-01-22 13:31:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-22 13:31:50 +0100 |
| commit | 184d82d8488b1b31ade5b5a68b0040f1c267f2be (patch) | |
| tree | efe0159e904f455547b69d046284536fdc6fce86 /docs/ref/databases.txt | |
| parent | 1c3a9b9f968295848baa56670797fb424096efaf (diff) | |
Fixed #35130 -- Doc'd django.db.close_old_connections().
This also adds close_db_connections() to the django.db.__all__.
Diffstat (limited to 'docs/ref/databases.txt')
| -rw-r--r-- | docs/ref/databases.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index 5a31ceeaae..d98d523db5 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -99,7 +99,8 @@ connections. If a connection is created in a long-running process, outside of Django’s request-response cycle, the connection will remain open until explicitly -closed, or timeout occurs. +closed, or timeout occurs. You can use ``django.db.close_old_connections()`` to +close all old or unusable connections. Encoding -------- |
