|
@ -23,7 +23,7 @@ DJANGODIR=/var/interlegis/sapl/ # Django project directory (* |
|
|
SOCKFILE=/var/interlegis/sapl/run/gunicorn.sock # we will communicate using this unix socket (*) |
|
|
SOCKFILE=/var/interlegis/sapl/run/gunicorn.sock # we will communicate using this unix socket (*) |
|
|
USER=`whoami` # the user to run as (*) |
|
|
USER=`whoami` # the user to run as (*) |
|
|
GROUP=`whoami` # the group to run as (*) |
|
|
GROUP=`whoami` # the group to run as (*) |
|
|
NUM_WORKERS=10 # how many worker processes should Gunicorn spawn (*) |
|
|
NUM_WORKERS=3 # how many worker processes should Gunicorn spawn (*) |
|
|
# NUM_WORKERS = 2 * CPUS + 1 |
|
|
# NUM_WORKERS = 2 * CPUS + 1 |
|
|
TIMEOUT=300 |
|
|
TIMEOUT=300 |
|
|
MAX_REQUESTS=100 # number of requests before restarting worker |
|
|
MAX_REQUESTS=100 # number of requests before restarting worker |
|
|