This is an automated email from the ASF dual-hosted git repository.

tai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 86368dd406 fix(docker): Make Gunicorn Keepalive Adjustable (#20348)
86368dd406 is described below

commit 86368dd406b9e828f31186a4b6179d24758a7d87
Author: Multazim Deshmukh <[email protected]>
AuthorDate: Sat Jun 11 01:34:39 2022 +0530

    fix(docker): Make Gunicorn Keepalive Adjustable (#20348)
    
    Co-authored-by: Multazim Deshmukh <[email protected]>
---
 docker/run-server.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docker/run-server.sh b/docker/run-server.sh
index 5519ff5d5c..064f47b9c2 100644
--- a/docker/run-server.sh
+++ b/docker/run-server.sh
@@ -27,6 +27,7 @@ gunicorn \
     --worker-class ${SERVER_WORKER_CLASS:-gthread} \
     --threads ${SERVER_THREADS_AMOUNT:-20} \
     --timeout ${GUNICORN_TIMEOUT:-60} \
+    --keep-alive ${GUNICORN_KEEPALIVE:-2} \
     --limit-request-line ${SERVER_LIMIT_REQUEST_LINE:-0} \
     --limit-request-field_size ${SERVER_LIMIT_REQUEST_FIELD_SIZE:-0} \
     "${FLASK_APP}"

Reply via email to