mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 10:12:00 +08:00
fix(fd-limit): Increase FD limit to 1024
This commit is contained in:
parent
81c61acfcd
commit
13a74e2176
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue