You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/08/30 05:56:58 UTC

[GitHub] [superset] rathberm commented on a diff in pull request #21236: feat(helm): Added env variable SERVER_WORKER_AMOUNT

rathberm commented on code in PR #21236:
URL: https://github.com/apache/superset/pull/21236#discussion_r958034846


##########
helm/superset/values.yaml:
##########
@@ -55,7 +55,9 @@ envFromSecrets: []
 extraEnv: {}
   # Extend timeout to allow long running queries.
   # GUNICORN_TIMEOUT: 300
-
+  # Increase the gunicorn worker amount, can improve performance drastically
+  # See: https://docs.gunicorn.org/en/stable/design.html#:~:text=Gunicorn%20should%20only%20need%204,workers%20to%20start%20off%20with.
+  # SERVER_WORKER_AMOUNT: 4

Review Comment:
   @craig-rueda as you can see in [run-server.sh](https://github.com/apache/superset/blob/master/docker/run-server.sh#L26) the variable `SERVER_WORKER_AMOUNT` is introduced by Superset und used to set the flag `--workers` when starting gunicorn. It's not a gunicorn variable.



-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org