Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use closefrom() to close open file descriptors
Replace the naive close() loop in js_os_exec with closefrom(). On my system RLIMIT_NOFILE is set to 1 million and the delay from the loop gets noticeable when I spawn many processes. Fixes: #711
- Loading branch information