X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fworker%2Fthread%2FemptyWorker.js;h=1787a79c16c7923f01745bd086bac6329ee78423;hb=e8ea58d292e381a6be7f4d0fee5d5b691adb37ac;hp=c7034caaa3b66f901f9ee26f7b9fd664b4f957c0;hpb=5efc2a90350b03cb26758a5adbd692b250a7d331;p=poolifier.git diff --git a/tests/worker/thread/emptyWorker.js b/tests/worker/thread/emptyWorker.js index c7034caa..1787a79c 100644 --- a/tests/worker/thread/emptyWorker.js +++ b/tests/worker/thread/emptyWorker.js @@ -1,9 +1,9 @@ 'use strict' -const { ThreadWorker, killBehaviorEnumeration } = require('../../../lib/index') +const { ThreadWorker, killBehaviorTypes } = require('../../../lib/index') function test (data) {} module.exports = new ThreadWorker(test, { maxInactiveTime: 500, - killBehavior: killBehaviorEnumeration.HARD + killBehavior: killBehaviorTypes.HARD })