Hi, I am running a flow in cloud which has two par...
# ask-community
s
Hi, I am running a flow in cloud which has two paralell task but only one task is running at a time, What might be the reason?
k
Are they both mapped?
s
No
a
usually it’s the executor. The default LocalExecutor is running your tasks sequentially, but if you switch to a LocalDaskExecutor, your tasks can run in parallel
s
I am using Kubernetes agent, how i can configure that
k
On the flow:
Copy code
flow.executor = LocalDaskExecutor()
from prefect.executors import LocalDaskExecutor
s
Got it Thank you