Folks, is it possible to specify the number of thr...
# ask-community
j
Folks, is it possible to specify the number of threads for a specific task when running LocalDaskExecutor?
k
Hey @Jean Da Rolt, task-level resource allocation is not something available, but definitely in discussion for the future
n
Hi @Jean Da Rolt - no, you can only specify the number of threads at the flow level
j
thanks for the reply. Do you have any example showing how to set the global number of threads for a localdaskexecutor?
k
At the bottom of this
n
Sure, you should be able to pass the
num_workers
kwarg to the executor constructor
@Kevin Kho is always faster than me 😆
j
thanks! you guys are in sync
😆 2