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): bump @types/node
[poolifier.git]
/
tests
/
worker-files
/
cluster
/
emptyWorker.js
diff --git
a/tests/worker-files/cluster/emptyWorker.js
b/tests/worker-files/cluster/emptyWorker.js
index 58c55af12b8c171a12c8b430a3b32b3e2d7c0dc5..02a733da0b9ada70a623f54d57f446c9ba2ad672 100644
(file)
--- a/
tests/worker-files/cluster/emptyWorker.js
+++ b/
tests/worker-files/cluster/emptyWorker.js
@@
-1,9
+1,9
@@
'use strict'
'use strict'
-const { ClusterWorker, KillBehaviors } = require('../../../lib
/index
')
+const { ClusterWorker, KillBehaviors } = require('../../../lib')
-function test (
data
) {}
+function test () {}
module.exports = new ClusterWorker(test, {
module.exports = new ClusterWorker(test, {
-
maxInactiveTime: 500
,
- killBehavior: KillBehaviors.HARD
+
killBehavior: KillBehaviors.HARD
,
+ maxInactiveTime: 500
})
})