Skip to content

Commit

Permalink
DOC: Document threads_per_worker
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Oct 24, 2022
1 parent 8f25111 commit 43c3b0d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion distributed/deploy/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ class LocalCluster(SpecCluster):
Whether to use processes (True) or threads (False). Defaults to True, unless
worker_class=Worker, in which case it defaults to False.
threads_per_worker: int
Number of threads per each worker
The number of threads in each worker's
:class:`python:ThreadPoolExecutor` where tasks are executed.
See also :doc:`dask:array-best-practices` for more information.
scheduler_port: int
Port of the scheduler. 8786 by default, use 0 to choose a random port
silence_logs: logging level
Expand Down
2 changes: 1 addition & 1 deletion docs/source/killed.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Specifically for connectivity problems (e.g., timeout exceptions in the worker
logs), you will need to diagnose your networking infrastructure, which is more
complicated than can be described here. Commonly, it may involve logging into
the machine running the affected worker
(although you can :ref:`ipylaunch`).
(although you can ``ipylaunch``).

Killed by Nanny
'''''''''''''''
Expand Down
2 changes: 2 additions & 0 deletions docs/source/queues.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:orphan:

Data Streams with Queues
========================

Expand Down

0 comments on commit 43c3b0d

Please sign in to comment.