How to use WEB_CONCURRENCY with the prefect server #19040
Replies: 1 comment
-
|
Oh, I see this is basically fixed in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am wondering how to properly use
uvicorn's workers with theWEB_CONCURRENCYenvironment variable together with the prefect server:This affects the foreground server mode, while starting in the background works, but affects the official helm chart that we try to use with Kubernetes as I think that also uses the foreground version. I am using version
3.4.17.Foreground runner uses a python object: https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/server.py#L478
Bacground runner a string param: https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/server.py#L430
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions