diff --git a/entrypoint.sh b/entrypoint.sh index 007e7e590..b90811508 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -57,7 +57,7 @@ else "PASSWORD": "$DB_PASSWORD", "HOST": "$DB_HOST", "PORT": "$DB_PORT", - "CONN_MAX_AGE": 0 + "CONN_MAX_AGE": 120 } } EOF diff --git a/rnacentral/rnacentral/settings.py b/rnacentral/rnacentral/settings.py index 5c4810c50..fa91c932a 100644 --- a/rnacentral/rnacentral/settings.py +++ b/rnacentral/rnacentral/settings.py @@ -40,7 +40,6 @@ "PORT": os.getenv("DB_PORT", 5432), } } -CONN_MAX_AGE = 300 # Hosts/domain names that are valid for this site; required if DEBUG is False # See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts