repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change killBehaviorEnumeration to killBehaviorTypes
[poolifier.git]
/
tests
/
worker
/
cluster
/
echoWorker.js
diff --git
a/tests/worker/cluster/echoWorker.js
b/tests/worker/cluster/echoWorker.js
index 8d4477ee386983aa6680d4b73a4c619b5fdeb9bc..77898bacbafb70caf8cd3deb48758a49d8d2100d 100644
(file)
--- a/
tests/worker/cluster/echoWorker.js
+++ b/
tests/worker/cluster/echoWorker.js
@@
-1,5
+1,5
@@
'use strict'
'use strict'
-const { ClusterWorker, killBehavior
Enumeration
} = require('../../../lib/index')
+const { ClusterWorker, killBehavior
Types
} = require('../../../lib/index')
function echo (data) {
return data
function echo (data) {
return data
@@
-7,5
+7,5
@@
function echo (data) {
module.exports = new ClusterWorker(echo, {
maxInactiveTime: 500,
module.exports = new ClusterWorker(echo, {
maxInactiveTime: 500,
- killBehavior: killBehavior
Enumeration
.HARD
+ killBehavior: killBehavior
Types
.HARD
})
})