repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improvements for #161 (#169)
[poolifier.git]
/
tests
/
worker
/
cluster
/
echoWorker.js
diff --git
a/tests/worker/cluster/echoWorker.js
b/tests/worker/cluster/echoWorker.js
index 77898bacbafb70caf8cd3deb48758a49d8d2100d..054c4bb30c2d8ef2ad2ed9dd52bc5c6f9af793e2 100644
(file)
--- a/
tests/worker/cluster/echoWorker.js
+++ b/
tests/worker/cluster/echoWorker.js
@@
-1,5
+1,5
@@
'use strict'
'use strict'
-const { ClusterWorker,
killBehaviorType
s } = require('../../../lib/index')
+const { ClusterWorker,
KillBehavior
s } = require('../../../lib/index')
function echo (data) {
return data
function echo (data) {
return data
@@
-7,5
+7,5
@@
function echo (data) {
module.exports = new ClusterWorker(echo, {
maxInactiveTime: 500,
module.exports = new ClusterWorker(echo, {
maxInactiveTime: 500,
- killBehavior:
killBehaviorType
s.HARD
+ killBehavior:
KillBehavior
s.HARD
})
})