Skip to content

Commit

Permalink
Use graceful-fs to avoid EMFILE errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgrove committed Oct 27, 2011
1 parent 3ce71bd commit e1a188d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Selleck History

* Node 0.5.x/0.6.x compatibility.

* Now using graceful-fs to avoid EMFILE errors due to too many open file
handles when generating lots of docs.


0.1.6 (2011-09-27)
------------------
Expand Down
2 changes: 1 addition & 1 deletion lib/fileutils.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright (c) 2011 Yahoo! Inc.
Licensed under the BSD License.
*/

var fs = require('fs'),
var fs = require('graceful-fs'),
fsPath = require('path'),
nodeUtil = require('util');

Expand Down
2 changes: 1 addition & 1 deletion lib/selleck.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Licensed under the BSD License.
@module selleck
**/

var fs = require('fs'),
var fs = require('graceful-fs'),
path = require('path'),
Handlebars = require('../support/handlebars/handlebars').Handlebars,

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

"dependencies": {
"express" : ">=2.3.0 <2.6.0",
"graceful-fs": "~1.0.1"
},

"main": "index",
Expand Down

0 comments on commit e1a188d

Please sign in to comment.