diff --git a/src/browser/main.js b/src/browser/main.js index becde48bd..087cbc2af 100644 --- a/src/browser/main.js +++ b/src/browser/main.js @@ -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);