You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow renaming worker ThreadPool's thread_name_prefix from worker parameters #9112
Dask's worker parameters only allow overriding the executor, but since executor has to be an instance of some Executor (i.e. its a python object), we can't pass this object from outside of python,
for example, when passing "worker json spec" to the dask spec command to start a worker.
If we can allow user to override this thread_name_prefix of the default executor, by adding one more parameter in the worker params which accepts a string, that would be useful.
Also on another note, the default name of the worker threadpool, can be derived from the worker's self.name attribute itself, rather than always defaulting to Dask-Default-Threads
Activity
maneesh29s commentedon Sep 17, 2025
I would be happy to raise MR for this. But I would like to know which approach will be better.
Workerto override threadpool nameworker.nameto generate the default threadpool name, like{worker.name}-Threadjacobtomlinson commentedon Sep 18, 2025
I don't have any strong feelings either way.
Someone else might chime in here later, but I would suggest you move forward with whichever approach would be most helpful to you as a user.