Heya! In prefect-worker helm chart, there is a se...
# ask-community
j
Heya! In prefect-worker helm chart, there is a setting
Copy code
## general configuration of the worker
  config:
    # -- maximum number of flow runs to start simultaneously (default: unlimited)
    limit: null
src: https://github.com/PrefectHQ/prefect-helm/blob/main/charts/prefect-worker/values.yaml When this setting is for example a 2, will my single worker work pool be able to run 2 flow runs at the same time? As in, 1 worker pod initiates 2 flow pods.
b
Hello!
As in, 1 worker pod initiates 2 flow pods.
I believe that is correct. Typically, the way I see people leverage the
--limit
option is when they'd like to distribute flow runs between two or more workers that are polling the same work pool. Otherwise, the flow runs are picked up randomly between the workers and are not as evenly distributed.
j
Thank you! We'll try it out 👍