mirror of
https://github.com/django/django.git
synced 2025-03-31 19:46:42 +00:00
Adjusments
This commit is contained in:
parent
19a00bbd8f
commit
97c681a05c
@ -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
|
appropriate value at the beginning of each request, or disable persistent
|
||||||
connections.
|
connections.
|
||||||
|
|
||||||
If a connection is created in a long-running process or a sub-thread, outside of Django’s
|
If a connection is created in a process or a request sub-thread, outside of Django’s
|
||||||
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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user