From 3d8daf1ede4ce3362defaeec5ab1b0d848bfe502 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 25 Aug 2013 17:11:38 +0200 Subject: [PATCH] add max-requets to gunicorn --- etc/init/pandora.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/init/pandora.conf b/etc/init/pandora.conf index 9c8317b6..2cd7b825 100644 --- a/etc/init/pandora.conf +++ b/etc/init/pandora.conf @@ -24,6 +24,7 @@ exec start-stop-daemon \ $VENV/bin/gunicorn_django -- \ --bind 127.0.0.1:2620 \ --timeout 90 \ + --max-requests 1000 \ -p /var/run/pandora/pandora.pid \ --log-level info --log-file /var/log/pandora/pandora.log \ --workers 5