Skip to content

Commit f790d3a

Browse files
committed
Change CONN_MAX_AGE
1 parent 966ceef commit f790d3a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ else
5757
"PASSWORD": "$DB_PASSWORD",
5858
"HOST": "$DB_HOST",
5959
"PORT": "$DB_PORT",
60-
"CONN_MAX_AGE": 0
60+
"CONN_MAX_AGE": 120
6161
}
6262
}
6363
EOF

rnacentral/rnacentral/settings.py

-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"PORT": os.getenv("DB_PORT", 5432),
4141
}
4242
}
43-
CONN_MAX_AGE = 300
4443

4544
# Hosts/domain names that are valid for this site; required if DEBUG is False
4645
# See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts

0 commit comments

Comments
 (0)