client.cli.workflow.concurrency =============================== .. py:module:: client.cli.workflow.concurrency .. autoapi-nested-parse:: Workflow concurrency command. Functions --------- .. autoapisummary:: client.cli.workflow.concurrency.validate_max_tasks client.cli.workflow.concurrency.concurrency Module Contents --------------- .. py:function:: validate_max_tasks(ctx: click.Context, param: click.Parameter, value: int) -> int Validate that max_tasks is non-negative. .. py:function:: concurrency(workflow_id: int, max_tasks: int) -> None Dynamically adjust concurrent task limit. Change the maximum number of tasks that can run concurrently for a running workflow. Setting to 0 effectively pauses the workflow. \b .. rubric:: Examples # Set concurrency limit to 100 jobmon workflow concurrency -w 12345 -m 100 # Pause workflow (set to 0) jobmon workflow concurrency -w 12345 -m 0