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 fastify
[poolifier.git]
/
tests
/
worker-files
/
cluster
/
testWorker.js
diff --git
a/tests/worker-files/cluster/testWorker.js
b/tests/worker-files/cluster/testWorker.js
index 8462307cd8826a5b7328ea46405c84a0fbbaf00d..57715266bcf7c181c955b4995ec4ee9b9c46c981 100644
(file)
--- a/
tests/worker-files/cluster/testWorker.js
+++ b/
tests/worker-files/cluster/testWorker.js
@@
-1,7
+1,7
@@
'use strict'
const { ClusterWorker, KillBehaviors } = require('../../../lib')
'use strict'
const { ClusterWorker, KillBehaviors } = require('../../../lib')
-const { executeTaskFunction } = require('../../test-utils')
-const { TaskFunctions } = require('../../test-types')
+const { executeTaskFunction } = require('../../test-utils
.js
')
+const { TaskFunctions } = require('../../test-types
.js
')
function test (data) {
data = data || {}
function test (data) {
data = data || {}
@@
-10,6
+10,6
@@
function test (data) {
}
module.exports = new ClusterWorker(test, {
}
module.exports = new ClusterWorker(test, {
-
maxInactiveTime: 500
,
- killBehavior: KillBehaviors.HARD
+
killBehavior: KillBehaviors.HARD
,
+ maxInactiveTime: 500
})
})