mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
process: api to set file descriptor soft limit
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user