mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #35130 -- Doc'd django.db.close_old_connections().
This also adds close_db_connections() to the django.db.__all__.
This commit is contained in:
parent
1c3a9b9f96
commit
184d82d848
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
--------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue