Enable connection pooling in the registry

This commit is contained in:
Joseph Schorr 2017-07-27 13:55:50 -04:00
parent 67e7e8274b
commit f79542fefb
2 changed files with 16 additions and 7 deletions

View file

@ -4,6 +4,7 @@ echo 'Starting gunicon'
QUAYPATH=${QUAYPATH:-"."}
QUAYCONF=${QUAYCONF:-"$QUAYPATH/conf"}
DB_CONNECTION_POOLING=${DB_CONNECTION_POOLING:-"true"}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH nice -n 10 venv/bin/gunicorn -c $QUAYCONF/gunicorn_registry.py registry:application