mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #30398 -- Added CONN_HEALTH_CHECKS database setting.
The CONN_HEALTH_CHECKS setting can be used to enable database connection health checks for Django's persistent DB connections. Thanks Florian Apolloner for reviews.
This commit is contained in:
committed by
Mariusz Felisiak
parent
64c3f049ea
commit
4ce59f602e
@@ -208,6 +208,11 @@ Models
|
||||
:class:`~django.db.models.expressions.Window` expression now accepts string
|
||||
references to fields and transforms.
|
||||
|
||||
* The new :setting:`CONN_HEALTH_CHECKS` setting allows enabling health checks
|
||||
for :ref:`persistent database connections <persistent-database-connections>`
|
||||
in order to reduce the number of failed requests, e.g. after database server
|
||||
restart.
|
||||
|
||||
Requests and Responses
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user