repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improvements for #161 (#169)
[poolifier.git]
/
tests
/
worker
/
cluster
/
emptyWorker.js
diff --git
a/tests/worker/cluster/emptyWorker.js
b/tests/worker/cluster/emptyWorker.js
index 4e5eeca7a7a33f8a67b90447de69a05d574dda83..58c55af12b8c171a12c8b430a3b32b3e2d7c0dc5 100644
(file)
--- a/
tests/worker/cluster/emptyWorker.js
+++ b/
tests/worker/cluster/emptyWorker.js
@@
-1,9
+1,9
@@
'use strict'
'use strict'
-const { ClusterWorker,
killBehaviorEnumeration
} = require('../../../lib/index')
+const { ClusterWorker,
KillBehaviors
} = require('../../../lib/index')
function test (data) {}
module.exports = new ClusterWorker(test, {
maxInactiveTime: 500,
function test (data) {}
module.exports = new ClusterWorker(test, {
maxInactiveTime: 500,
- killBehavior:
killBehaviorEnumeration
.HARD
+ killBehavior:
KillBehaviors
.HARD
})
})