I couldn't find any information about this:
Is there a way to restrict so that only one instance of a task class in a workflow can run ... say for example DownloadData()?
My use case is that I'm extracting information from a somewhat resource constrained database, and want to restrict only the tasks accessing that one to run one at a time, while any other tasks in the workflow will be able to run more tasks in parallel.
I saw the max_batch_size parameter [1] , but IIUC, it does something else (more related to bundling multiple tasks depending on each other into one batch)?
Best
Samuel