repositories
/
poolifier.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
58c55af12b8c171a12c8b430a3b32b3e2d7c0dc5
[poolifier.git]
/
tests
/
worker
/
cluster
/
emptyWorker.js
1
'use strict'
2
const
{
ClusterWorker
,
KillBehaviors
} =
require
(
'../../../lib/index'
)
3
4
function
test
(
data
) {}
5
6
module
.
exports
=
new
ClusterWorker
(
test
, {
7
maxInactiveTime
:
500
,
8
killBehavior
:
KillBehaviors
.
HARD
9
})