egg-cluster
Advanced tools
Comparing version 1.12.1 to 1.12.2
1.12.2 / 2017-09-28 | ||
=================== | ||
**fixes** | ||
* [[`0c886a4`](https://github.com/eggjs/egg-cluster/commit/0c886a43ecac25e79de910cb04778efc77aab9a4)] - fix: should disable worker refork (#46) (fengmk2 <<fengmk2@gmail.com>>) | ||
1.12.1 / 2017-09-22 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -271,3 +271,5 @@ 'use strict'; | ||
for (const id in cluster.workers) { | ||
cluster.workers[id].process.kill('SIGTERM'); | ||
const worker = cluster.workers[id]; | ||
worker.disableRefork = true; | ||
worker.process.kill('SIGTERM'); | ||
} | ||
@@ -274,0 +276,0 @@ } |
{ | ||
"name": "egg-cluster", | ||
"version": "1.12.1", | ||
"version": "1.12.2", | ||
"description": "cluster manager for egg", | ||
@@ -35,3 +35,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"cfork": "^1.6.1", | ||
"cfork": "^1.7.0", | ||
"cluster-reload": "^1.0.2", | ||
@@ -68,2 +68,2 @@ "debug": "^3.0.1", | ||
} | ||
} | ||
} |
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
36451
770
Updatedcfork@^1.7.0