Skip to content

Commit

Permalink
Always set the stack limit.
Browse files Browse the repository at this point in the history
  • Loading branch information
hermanzdosilovic committed Dec 31, 2020
1 parent 766188b commit ad39cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isolate.c
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ setup_rlimits(void)

RLIM(FSIZE, (rlim_t)fsize_limit * 1024);

RLIM(STACK, (stack_limit ? (rlim_t)stack_limit * 1024 : RLIM_INFINITY));
RLIM(STACK, (rlim_t)stack_limit * 1024);
RLIM(NOFILE, 512);
RLIM(MEMLOCK, 0);

Expand Down

0 comments on commit ad39cc4

Please sign in to comment.