Mercurial > public > madeira
changeset 131:9c74cd8668eb
For Django 1.6: take advantage of new database connection persistence.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 24 Dec 2013 16:50:13 -0600 |
parents | 3062c547bb90 |
children | e53efcac7a7a |
files | madeira/settings/production.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/madeira/settings/production.py Tue Dec 24 16:47:27 2013 -0600 +++ b/madeira/settings/production.py Tue Dec 24 16:50:13 2013 -0600 @@ -16,6 +16,9 @@ }, } +# Lifetime of the database connections, in seconds: +CONN_MAX_AGE = 1200 + STATIC_ROOT = os.path.abspath(os.path.join(PROJECT_PATH, '..', 'static_serve')) TEMPLATE_LOADERS = [