repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: check worker aliveness in all case
[poolifier.git]
/
tests
/
worker-files
/
cluster
/
echoWorker.js
diff --git
a/tests/worker-files/cluster/echoWorker.js
b/tests/worker-files/cluster/echoWorker.js
index 685d971e06c8e4e8125520aed06ec756fb46b0ab..9bcae28163bf475972f334623505e4a23531ed64 100644
(file)
--- a/
tests/worker-files/cluster/echoWorker.js
+++ b/
tests/worker-files/cluster/echoWorker.js
@@
-5,4
+5,6
@@
function echo (data) {
return data
}
return data
}
-module.exports = new ClusterWorker(echo)
+module.exports = new ClusterWorker(echo, {
+ killBehavior: KillBehaviors.HARD
+})