On Mon, Apr 16, 2012 at 9:46 AM, Isaac Schlueter <[email protected]> wrote:
> I'm not sure about network drops and reconnects, but graceful-fs will
> handle EMFILE errors.  I'd be tempted to call write errors an error,
> and just abort.

If one must open lots of files, graceful-fs is a real alternative to filewalker.

Only difference is: No matter what error, filewalker will retry to
open the file, either until a maximum number of attempts is reached or
infinitely. Filewalker.attemptTimeout gives the system a chance to
'recover' from that error (I have to rename .attemptTimeout to maybe
.delayReattempt)

The 'no matter what, retry' principle also applies to stat and readdir.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to