mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Fix 918b8a3c01
on Windows.
This commit is contained in:
parent
d8a4ef8421
commit
9288b16cd2
@ -89,7 +89,9 @@ def process(f, *args, **kwargs):
|
||||
<timeout>, if supplied, limits the length of execution of target
|
||||
function to <timeout> seconds."""
|
||||
timeout = kwargs.pop('timeout', None)
|
||||
heap_size = kwargs.pop('heap_size', resource.RLIM_INFINITY)
|
||||
heap_size = kwargs.pop('heap_size', None)
|
||||
if resource and heap_size is None:
|
||||
heap_size = resource.RLIM_INFINITY
|
||||
|
||||
if conf.disableMultiprocessing:
|
||||
pn = kwargs.pop('pn', 'Unknown')
|
||||
|
Loading…
Reference in New Issue
Block a user