Devin Flake
03/21/2024, 4:57 PMrun_deployment
might do the trick? Can anyone confirm? https://docs.prefect.io/latest/concepts/deployments/#running-a-deployed-flow-from-within-python-flow-codeNate
03/21/2024, 6:11 PMNate
03/21/2024, 6:12 PMMarvin
03/21/2024, 6:12 PMprefect work-pool
command: set-concurrency-limit
sets a concurrency limit. (Prefect Work Pools Docs)
### Concurrency Limits at the Work Queue Level
Within the realm of work queues, each can also have its own concurrency limits, adding an intricate layer of control when distributing work. It’s important to note that these limits, however fiercely independent they may seem, are also bound by the overarching global work pool concurrency limit. Work queue priorities and concurrency limits combine to form a coherent strategy for managing work distribution, with the queues being allocated work based on priority and within the constraints of their respective concurrency limits. (Prefect Work Pools Docs)
If your spirits haven't been dampened by the complexity, this knowledge could potentially be useful, on the off chance your code doesn't descend into pure chaos.Devin Flake
03/21/2024, 6:12 PMAnkit
03/22/2024, 5:26 AM