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
/
emptyWorker.js
diff --git
a/tests/worker/thread/emptyWorker.js
b/tests/worker/thread/emptyWorker.js
index c7034caaa3b66f901f9ee26f7b9fd664b4f957c0..1787a79c16c7923f01745bd086bac6329ee78423 100644
(file)
--- a/
tests/worker/thread/emptyWorker.js
+++ b/
tests/worker/thread/emptyWorker.js
@@
-1,9
+1,9
@@
'use strict'
'use strict'
-const { ThreadWorker, killBehavior
Enumeration
} = require('../../../lib/index')
+const { ThreadWorker, killBehavior
Types
} = require('../../../lib/index')
function test (data) {}
module.exports = new ThreadWorker(test, {
maxInactiveTime: 500,
function test (data) {}
module.exports = new ThreadWorker(test, {
maxInactiveTime: 500,
- killBehavior: killBehavior
Enumeration
.HARD
+ killBehavior: killBehavior
Types
.HARD
})
})