I shouldn't have to manually handle EMFILE errors. https://github.com/isaacs/node-graceful-fs/issues
The fact that you have to solve this with monkey patching is an indication that it belongs in core. You could argue, well there it is, just use it. But as a module author, I can't depend on it, because that monkey patching affects every other module the user uses. A responsible module author will not depend on monkey patching. There's no good way to handle EMFILE errors. I could set a timeout and try again, but that's bogus. Why wait for an arbitrary period of time when I could get a callback exactly when another handle is closed? This is precisely what graceful-fs does... why is it not in core?! -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/5b35c61f-230f-4c04-a079-02f45dd3e95d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
