repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps-dev): apply updates
[poolifier.git]
/
tests
/
worker-files
/
cluster
/
errorWorker.js
diff --git
a/tests/worker-files/cluster/errorWorker.js
b/tests/worker-files/cluster/errorWorker.js
index d23ba27b31692d74866fdd2ddb2f9caf8763fac7..01cffc5e47641a74297f0ac1e11542eaf4f8e4d9 100644
(file)
--- a/
tests/worker-files/cluster/errorWorker.js
+++ b/
tests/worker-files/cluster/errorWorker.js
@@
-1,5
+1,5
@@
'use strict'
'use strict'
-const { ClusterWorker, KillBehaviors } = require('../../../lib
/index
')
+const { ClusterWorker, KillBehaviors } = require('../../../lib')
function error () {
throw new Error('Error Message from ClusterWorker')
function error () {
throw new Error('Error Message from ClusterWorker')
@@
-7,6
+7,5
@@
function error () {
module.exports = new ClusterWorker(error, {
maxInactiveTime: 500,
module.exports = new ClusterWorker(error, {
maxInactiveTime: 500,
- async: false,
killBehavior: KillBehaviors.HARD
})
killBehavior: KillBehaviors.HARD
})