jpuris
01/02/2024, 8:52 AM## 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.Bianca Hoch
01/02/2024, 4:26 PMAs 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.jpuris
01/02/2024, 4:38 PM