Skip to content

Commit cfdf07f

Browse files
committed
[skip ci] clarify new plugin_arg description
1 parent fd43693 commit cfdf07f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/users/plugins.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ Optional arguments::
8282
exceed the total amount of resources available (memory and threads), when
8383
``False`` (default), only a warning will be issued.
8484

85-
maxtasksperchild : refresh the workers after this specific number of nodes
86-
run (default: 10).
85+
maxtasksperchild : number of nodes to run on each process before refreshing
86+
the worker (default: 10).
8787
8888

8989
To distribute processing on a multicore machine, simply call::

nipype/pipeline/plugins/multiproc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ class MultiProcPlugin(DistributedPluginBase):
105105
- scheduler: sort jobs topologically (``'tsort'``, default value)
106106
or prioritize jobs by, first, memory consumption and, second,
107107
number of threads (``'mem_thread'`` option).
108-
- maxtasksperchild: refresh workers after a certain amount of tasks
109-
run (and release resources).
108+
- maxtasksperchild: number of nodes to run on each process before
109+
refreshing the worker (default: 10).
110110
111111
"""
112112

0 commit comments

Comments
 (0)