max_jobs parameter that sets the maximum number of simultaneous jobs the agent can run. Multiple agents can point to a single queue, as long as they connect to a launching infrastructure that supports them.
You can set limits on CPU, GPU, memory, and other resources at the queue or job run level in the resource configuration. For information about setting up queues with resource limits on Kubernetes, see the Kubernetes setup guide.
For sweeps, include the following block in the queue configuration to limit the number of concurrent runs:
queue config