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
/
errorWorker.js
diff --git
a/tests/worker/cluster/errorWorker.js
b/tests/worker/cluster/errorWorker.js
index bbcb78be74f5cf5fad08a097545303017013e737..02168a677b3367fbb5980cc3b9a6bf39b18da986 100644
(file)
--- a/
tests/worker/cluster/errorWorker.js
+++ b/
tests/worker/cluster/errorWorker.js
@@
-1,5
+1,5
@@
'use strict'
'use strict'
-const { ClusterWorker, killBehavior
Enumeration
} = require('../../../lib/index')
+const { ClusterWorker, killBehavior
Types
} = require('../../../lib/index')
function error (data) {
throw new Error('Error Message from ClusterWorker')
function error (data) {
throw new Error('Error Message from ClusterWorker')
@@
-8,5
+8,5
@@
function error (data) {
module.exports = new ClusterWorker(error, {
maxInactiveTime: 500,
async: false,
module.exports = new ClusterWorker(error, {
maxInactiveTime: 500,
async: false,
- killBehavior: killBehavior
Enumeration
+ killBehavior: killBehavior
Types
})
})