Comparing version 0.2.2 to 0.2.3
@@ -53,5 +53,10 @@ "use strict"; | ||
delete error.domain; | ||
//v0.8.x | ||
delete error.domain_emitter; | ||
delete error.domain_bound; | ||
delete error.domain_thrown; | ||
//v0.10.x | ||
delete error.domainEmitter; | ||
delete error.domainBound ; | ||
delete error.domainThrown; | ||
return error; | ||
@@ -361,3 +366,3 @@ }; | ||
//Only read stdin on the master | ||
//On windows read stdin on the master | ||
if (WIN && cluster.isMaster){ | ||
@@ -477,4 +482,5 @@ rl = readLine.createInterface ({ | ||
//connection, so when the workers are killed the master continues | ||
//executing the shutdown listener | ||
//Also is a sanity check to prevent undesirable effects | ||
//executing the shutdown listener and could enter here more than one | ||
//time | ||
//It's also a sanity check to prevent undesirable effects | ||
if (forced) return; | ||
@@ -481,0 +487,0 @@ |
{ | ||
"name": "grace", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Graceful application with domains, cluster, error handling and Express support", | ||
@@ -5,0 +5,0 @@ "keywords": ["graceful", "grace", "shutdown", "restart", "domain", "error", |
@@ -14,3 +14,3 @@ grace | ||
Version: 0.2.2 | ||
Version: 0.2.3 | ||
@@ -17,0 +17,0 @@ Provides an event-based mechanism to start and gracefully shutdown a web server. |
26795
436