Hi!
Am Donnerstag, 16. August 2012 06:51:55 UTC+2 schrieb Jason.桂林(Gui Lin):
>
> To prevent server halt on error, listen the
> `process.on('uncaughtException')`, but the response will timeout.
>
> How to fix this problem, will these timeout req/res make memory leak ?
>
I guess it is best to throw/emit and handle the error at the instance,
that is causing the exception/error.
And use 'uncaughtExeption' only to notify an admin that something terrible
might had happened.
--
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