Merge pull request #2836 from coreos-inc/pass-pool-env

Pass DB connection pooling arg
This commit is contained in:
josephschorr 2017-07-27 14:29:31 -04:00 committed by GitHub
commit 1e2ed16439

View file

@ -7,6 +7,6 @@ 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
DB_CONNECTION_POOLING=$DB_CONNECTION_POOLING PYTHONPATH=$QUAYPATH nice -n 10 venv/bin/gunicorn -c $QUAYCONF/gunicorn_registry.py registry:application
echo 'Gunicorn exited'