Skip to content
Snippets Groups Projects
Commit 5ca9178a authored by vlorentz's avatar vlorentz
Browse files

swh-graph: Update entrypoint to use the current CLI, starting the Java gRPC service

parent 3818c492
No related branches found
No related tags found
No related merge requests found
......@@ -32,14 +32,11 @@ case "$1" in
update_graph
fi
echo "Starting the swh-graph API server"
exec gunicorn --bind 0.0.0.0:5009 \
--worker-class aiohttp.worker.GunicornWebWorker \
--reload \
--threads 4 \
--workers 2 \
exec swh \
--log-level DEBUG \
--timeout 3600 \
--config 'python:swh.core.api.gunicorn_config' \
'swh.graph.server.app:make_app_from_configfile()'
graph \
grpc-serve \
--port 5009 \
--graph $DATADIR/compressed/graph
;;
esac
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment