Browse Source

Update gunicorn_start.sh

pull/3484/head
Edward 3 years ago
committed by GitHub
parent
commit
f1b288fa47
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docker/gunicorn_start.sh

2
docker/gunicorn_start.sh

@ -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 (*)
USER=`whoami` # the user to run as (*)
GROUP=`whoami` # the group to run as (*)
NUM_WORKERS=3 # how many worker processes should Gunicorn spawn (*)
NUM_WORKERS=100 # how many worker processes should Gunicorn spawn (*)
# NUM_WORKERS = 2 * CPUS + 1
TIMEOUT=300
MAX_REQUESTS=100 # number of requests before restarting worker

Loading…
Cancel
Save