Document argument 'heap_size' of commands.process.

This commit is contained in:
Valentin Lorentz 2016-10-26 18:11:01 +02:00
parent f5db2338c5
commit 337094a1f4

View File

@ -79,7 +79,9 @@ def process(f, *args, **kwargs):
<pn>, the pluginname, and <cn>, the command name, are strings used to
create the process name, for identification purposes.
<timeout>, if supplied, limits the length of execution of target
function to <timeout> seconds."""
function to <timeout> seconds.
<heap_size>, if supplied, limits the memory used by the target
function."""
timeout = kwargs.pop('timeout', None)
heap_size = kwargs.pop('heap_size', None)
if resource and heap_size is None: