add max-requets to gunicorn

This commit is contained in:
j 2013-08-25 17:11:38 +02:00
parent 2d7def5c05
commit 3d8daf1ede

View file

@ -24,6 +24,7 @@ exec start-stop-daemon \
$VENV/bin/gunicorn_django -- \ $VENV/bin/gunicorn_django -- \
--bind 127.0.0.1:2620 \ --bind 127.0.0.1:2620 \
--timeout 90 \ --timeout 90 \
--max-requests 1000 \
-p /var/run/pandora/pandora.pid \ -p /var/run/pandora/pandora.pid \
--log-level info --log-file /var/log/pandora/pandora.log \ --log-level info --log-file /var/log/pandora/pandora.log \
--workers 5 --workers 5