Skip to content

v1.5.2

Compare
Choose a tag to compare
@epi052 epi052 released this 07 Nov 22:39
  • Added an attempt to set the soft limit for the RLIMIT_NOFILE resource (linux/macos only)

RLIMIT_NOFILE is the maximum number of file descriptors that can be opened by the process.

If the current hard limit is greater than our requested default, the soft limit is raised to the requested value.

If the hard limit is instead lower than the requested value AND the soft limit is lower than the hard limit, the soft limit is increased to be equal to the hard limit.

If both of the above conditions aren't met, nothing happens.