repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test: switch to ESM
[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 bea29f4192eed2fb72f346b388dd61566df71ada..b8e11d369d20c3ff06e2fc506f83aeda39feaa49 100644
(file)
--- a/
tests/worker-files/cluster/errorWorker.js
+++ b/
tests/worker-files/cluster/errorWorker.js
@@
-1,11
+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
,
- killBehavior: KillBehaviors.HARD
+
killBehavior: KillBehaviors.HARD
,
+ maxInactiveTime: 500
})
})