fix(fd-limit): Increase FD limit to 1024

This commit is contained in:
Ben Gotow 2016-10-28 15:33:34 -07:00
parent 81c61acfcd
commit 13a74e2176

View file

@ -11,6 +11,8 @@ const app = require('electron').app;
const path = require('path');
const mkdirp = require('mkdirp');
process.setFdLimit(1024);
const setupConfigDir = (args) => {
const defaultDirName = (args.specMode) ? '.nylas-spec' : '.nylas';
let configDirPath = path.join(app.getPath('home'), defaultDirName);