repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps): bump poolifier
[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 054c4bb30c2d8ef2ad2ed9dd52bc5c6f9af793e2..f9308c70c4bbbecfa0d205db06867a46562e2ac2 100644
(file)
--- a/
tests/worker-files/cluster/echoWorker.js
+++ b/
tests/worker-files/cluster/echoWorker.js
@@
-1,11
+1,10
@@
'use strict'
'use strict'
-const { ClusterWorker, KillBehaviors } = require('../../../lib
/index
')
+const { ClusterWorker, KillBehaviors } = require('../../../lib')
function echo (data) {
return data
}
module.exports = new ClusterWorker(echo, {
function echo (data) {
return data
}
module.exports = new ClusterWorker(echo, {
- maxInactiveTime: 500,
killBehavior: KillBehaviors.HARD
})
killBehavior: KillBehaviors.HARD
})