# HG changeset patch # User Brian Neal # Date 1388350343 21600 # Node ID bace7db5678c2d8a9f436210404345e23fe001f7 # Parent 8789299c75b142c1a588aca30afaba5d29837cbb Django 1.6: take advantage of new database connection persistence. diff -r 8789299c75b1 -r bace7db5678c sg101/settings/production.py --- a/sg101/settings/production.py Sun Dec 29 14:45:26 2013 -0600 +++ b/sg101/settings/production.py Sun Dec 29 14:52:23 2013 -0600 @@ -17,6 +17,9 @@ }, } +# Lifetime of the database connections, in seconds: +CONN_MAX_AGE = 1200 + STATIC_ROOT = os.path.abspath(os.path.join(PROJECT_PATH, '..', 'static_serve')) # Used cached template loader