1 parent 118b936 commit 941c568Copy full SHA for 941c568
1 file changed
src/commands.py
@@ -87,7 +87,7 @@ def _rlimit_min(a, b):
87
elif b == resource.RLIM_INFINITY:
88
return a
89
else:
90
- return min(soft, heap_size)
+ return min(a, b)
91
92
def _process_target(f, q, heap_size, *args, **kwargs):
93
"""Called by :func:`process`"""
0 commit comments