repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge dependabot/npm_and_yarn/examples/typescript/http-client-pool/poolifier-3.0...
[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..b8e11d369d20c3ff06e2fc506f83aeda39feaa49 100644
(file)
--- a/
tests/worker-files/cluster/errorWorker.js
+++ b/
tests/worker-files/cluster/errorWorker.js
@@
-1,12
+1,11
@@
'use strict'
'use strict'
-const { ClusterWorker, KillBehaviors } = require('../../../lib
/index
')
+const { ClusterWorker, KillBehaviors } = require('../../../lib')
function error () {
throw new Error('Error Message from ClusterWorker')
}
module.exports = new ClusterWorker(error, {
function error () {
throw new Error('Error Message from ClusterWorker')
}
module.exports = new ClusterWorker(error, {
- maxInactiveTime: 500,
- async: false,
- killBehavior: KillBehaviors.HARD
+ killBehavior: KillBehaviors.HARD,
+ maxInactiveTime: 500
})
})