mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
SetFdLimit -> IncreaseFdLimitTo
NOTE: the behaviour of this API has changed slightly, and we should mention that in the notes.
This commit is contained in:
committed by
Aleksei Kuzmin
parent
f0da5bce80
commit
6a202c9f52
@@ -66,7 +66,7 @@ void AtomBindings::BindTo(v8::Isolate* isolate, v8::Local<v8::Object> process) {
|
||||
dict.SetMethod("getIOCounters", &GetIOCounters);
|
||||
dict.SetMethod("takeHeapSnapshot", &TakeHeapSnapshot);
|
||||
#if defined(OS_POSIX)
|
||||
dict.SetMethod("setFdLimit", &base::SetFdLimit);
|
||||
dict.SetMethod("setFdLimit", &base::IncreaseFdLimitTo);
|
||||
#endif
|
||||
dict.SetMethod("activateUvLoop", base::Bind(&AtomBindings::ActivateUVLoop,
|
||||
base::Unretained(this)));
|
||||
|
||||
Reference in New Issue
Block a user