dpgaspar commented on a change in pull request #8744: Fixing default Dockerfile
entrypoint
URL:
https://github.com/apache/incubator-superset/pull/8744#discussion_r353640672
##########
File path: docker/docker-entrypoint.sh
##########
@@ -20,8 +20,13 @@ set -eo pipefail
if [ "${#}" -ne 0 ]; then
exec "${@}"
else
- gunicorn --bind "0.0.0.0:${SUPERSET_PORT}" \
+ gunicorn \
+ --bind "0.0.0.0:${SUPERSET_PORT}" \
+ --access-logfile '-' \
+ --error-logfile '-' \
--workers 1 \
+ --worker-class gthread \
+ --threads 20 \
Review comment:
We could make `threads`, `worker` and `timeout` configurable with env vars
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]