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
/
thread
/
testWorker.js
diff --git
a/tests/worker/thread/testWorker.js
b/tests/worker/thread/testWorker.js
index 77dfdc8e050ccfca7a9a67f874b602e088c5234d..7510f00bf51086c7078f1bdeed385bd13a5707d8 100644
(file)
--- a/
tests/worker/thread/testWorker.js
+++ b/
tests/worker/thread/testWorker.js
@@
-1,5
+1,5
@@
'use strict'
'use strict'
-const { ThreadWorker, killBehavior
Enumeration
} = require('../../../lib/index')
+const { ThreadWorker, killBehavior
Types
} = require('../../../lib/index')
const { isMainThread } = require('worker_threads')
function test (data) {
const { isMainThread } = require('worker_threads')
function test (data) {
@@
-14,5
+14,5
@@
function test (data) {
module.exports = new ThreadWorker(test, {
maxInactiveTime: 500,
module.exports = new ThreadWorker(test, {
maxInactiveTime: 500,
- killBehavior: killBehavior
Enumeration
.HARD
+ killBehavior: killBehavior
Types
.HARD
})
})