process: api to set file descriptor soft limit
This commit is contained in:
parent
0f2ef3feb2
commit
af52eda0eb
3 changed files with 11 additions and 1 deletions
|
@ -11,3 +11,10 @@ upstream node:
|
|||
## process.hang
|
||||
|
||||
Causes the main thread of the current process hang.
|
||||
|
||||
## process.setFdLimit(maxDescriptors) _OS X_ _Linux_
|
||||
|
||||
* `maxDescriptors` Integer
|
||||
|
||||
Sets the file descriptor soft limit to `maxDescriptors` or the OS hard
|
||||
limit, whichever is lower for the current process.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue