is there a work-around?
# prefect-community
t
is there a work-around?
j
I recommend using the distributed scheduler. If you can't use threads with your tasks, you could specify that each worker gets only one thread with
threads_per_worker
.
Copy code
from prefect.engine.executors import DaskExecutor
exe = DaskExecutor(n_workers=4, threads_per_worker=1)