Skip to content

Commit 941c568

Browse files
Fix _rlimit_min
1 parent 118b936 commit 941c568

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def _rlimit_min(a, b):
8787
elif b == resource.RLIM_INFINITY:
8888
return a
8989
else:
90-
return min(soft, heap_size)
90+
return min(a, b)
9191

9292
def _process_target(f, q, heap_size, *args, **kwargs):
9393
"""Called by :func:`process`"""

0 commit comments

Comments
 (0)