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