Limit parallelization for O2 workflows

Hi all,

is there a global setting to limit the number of threads which is opened for a workflow in O2? I have a CPU with 4 cores + HT (8 threads). And I created a simple workflow which I would like to run with only 1 thread for debugging purposes.
I don’t even ask for multiple threads with openmp or similar, but I nevertheless get 8 instances of my class GPUTRDTracker which are processed in parallel.
Could the --resources option of the DPL Workflow driver be used for this? Or the --pipepline option?

The workflow is not yet added to O2, the PR is here: https://github.com/AliceO2Group/AliceO2/pull/4766
I am not sure if this really is a general question to the framework or if this is something specific for my workflow. If it is the latter I apologize for the noise… :confused:

Cheers,
Ole