Comparing version 0.1.6 to 0.1.7
@@ -82,2 +82,3 @@ /* | ||
'content-type': 'text/plain', | ||
'since': new Date(Date.now() - process.uptime()*1000), | ||
'cache-control': 'no-cache' | ||
@@ -92,2 +93,3 @@ }); | ||
'content-type': 'text/plain', | ||
'since': new Date(Date.now() - process.uptime()*1000), | ||
'cache-control': 'no-cache' | ||
@@ -94,0 +96,0 @@ }); |
@@ -161,2 +161,5 @@ /* | ||
else { | ||
process.on('SIGTERM', function() { | ||
app.close(); | ||
}); | ||
// Worker processes have a http server. | ||
@@ -163,0 +166,0 @@ app.listen(this.options.port, function() { |
{ | ||
"author": "ql.io", | ||
"name": "cluster2", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
* <del>Basic cluster</del> | ||
* <del>St art from js</del> | ||
* <del>Start from command line args</del> | ||
* <del>Add `since` header to report uptime</del> | ||
* <del>`app.close()` during SIGTERM</del> | ||
* Mon | ||
* Check for open port and and exit when busy with an error exit code | ||
* Skip logging when disk is low | ||
* Write start/shutdown/stop to log | ||
@@ -6,0 +10,0 @@ * <del>ECV</del> |
Possible typosquat attack
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
cluster |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61768
960
1