<@ULVA73B9P> am I able to acquire concurrency slots outside of a prefect run? IE, in a separate serv...
c
@Marvin am I able to acquire concurrency slots outside of a prefect run? IE, in a separate server
m
First, let's determine which version of Prefect you are using. The process for acquiring concurrency slots may differ based on the version. I will look up relevant information for both Prefect 2.x and 3.x. I'll also search for any related issues or discussions on the Prefect GitHub repository. Let's start by gathering information from the documentation and GitHub. Prefect allows the management of global concurrency limits, including slot acquisition and release. However, explicit mentions of acquiring concurrency slots from an external server (outside a Prefect run) were not found directly in the documentation. Here's what I found: ### Prefect 2.x In Prefect 2.x, global concurrency limits can be configured and managed via the Prefect UI and CLI: - Prefect 2.x Global Concurrency Limits Guide Slot decay can be set using the
slot_decay_per_second
parameter, which governs how quickly occupied slots become available again. ### Prefect 3.x Similarly, in Prefect 3.x, global concurrency limits are managed through the UI and CLI, with slot decay parameters available to control slot refresh rates: - Prefect 3.x Global Concurrency Limits Guide ### Conclusion Based on the documentation, it appears that while you can manage concurrency limits and slots via the Prefect UI and CLI, there is no explicit mention of doing this from an entirely external server outside the context of a Prefect run. To get a more specific answer or a workaround for your use case, I recommend asking in the Prefect community forums or opening a GitHub issue directly with your query, as the developers or the community might have more insights. Feel free to follow up if you have more questions or need further assistance!