diff --git a/apps/swh-graphql/entrypoint.sh b/apps/swh-graphql/entrypoint.sh index 2ac079b..dd363e6 100644 --- a/apps/swh-graphql/entrypoint.sh +++ b/apps/swh-graphql/entrypoint.sh @@ -1,20 +1,21 @@ #!/bin/bash set -e case "$1" in "shell") exec bash -i ;; *) echo Starting the swh-graphql API server exec gunicorn --bind "0.0.0.0:${PORT}" \ --threads "${THREADS}" \ --workers "${WORKERS}" \ --log-level "${LOG_LEVEL}" \ --timeout "${TIMEOUT}" \ --config 'python:swh.core.api.gunicorn_config' \ + --worker-class 'uvicorn.workers.UvicornWorker' \ 'swh.graphql.server:make_app_from_configfile()' ;; esac