We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this will fail
from distributed import Worker cluster = LocalCluster(processes=False, worker_class=Worker)
while this will pass
from distributed import Worker cluster = LocalCluster(processes=True, worker_class=Worker)
The text was updated successfully, but these errors were encountered:
Yes, the processes= keyword is really just syntactic sugar around using the Nanny rather than the Worker class.
processes=
Nanny
Worker
What is it that you're trying to achieve?
Sorry, something went wrong.
I'm using multiprocessing, and i want to have a custom initialization for each process So i use the c'tor of the worker to perform the initialization
But the main point here is that There shouldn't be a difference in API of multiprocessing and Multithreading
No branches or pull requests
this will fail
while this will pass
The text was updated successfully, but these errors were encountered: