mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Document argument 'heap_size' of commands.process.
This commit is contained in:
parent
f5db2338c5
commit
337094a1f4
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user