mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #20215 -- Disabled persistent connections by default.
This commit is contained in:
@@ -157,6 +157,15 @@ Performance optimizations
|
||||
Setting :setting:`DEBUG = False <DEBUG>` disables several features that are
|
||||
only useful in development. In addition, you can tune the following settings.
|
||||
|
||||
:setting:`CONN_MAX_AGE`
|
||||
-----------------------
|
||||
|
||||
Enabling `persistent database connections <persistent-database-connections>`_
|
||||
can result in a nice speed-up when connecting to the database accounts for a
|
||||
significant part of the request processing time.
|
||||
|
||||
This helps a lot on virtualized hosts with limited network performance.
|
||||
|
||||
:setting:`TEMPLATE_LOADERS`
|
||||
---------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user