Added posix setrlimit / ulimit

This commit is contained in:
Matt 2014-02-20 22:46:36 -07:00
parent 1462b6f0b3
commit ee12f20f62
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ JSON.minify = JSON.minify || require("node-json-minify");
try{
posix.setrlimit('nofile', { soft: 100000 });
posix.setrlimit('nofile', { soft: 100000, hard: 100000 });
}
catch(e){
console.error(e);