mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #20215 -- Disabled persistent connections by default.
This commit is contained in:
parent
f25fc5b220
commit
3d595c3bc3
5 changed files with 34 additions and 36 deletions
|
@ -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`
|
||||
---------------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue