X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker%2Fthread%2FemptyWorker.js;h=6a146c2653496f99238945c6648aa1dbe51ab4e2;hb=1a81f8af06213d08267e8e7d593c5ec7be087535;hp=c7034caaa3b66f901f9ee26f7b9fd664b4f957c0;hpb=4c35177b63cac8a87aa6de389e1232e94c59b8c9;p=poolifier.git diff --git a/tests/worker/thread/emptyWorker.js b/tests/worker/thread/emptyWorker.js index c7034caa..6a146c26 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, KillBehaviors } = require('../../../lib/index') function test (data) {} module.exports = new ThreadWorker(test, { maxInactiveTime: 500, - killBehavior: killBehaviorEnumeration.HARD + killBehavior: KillBehaviors.HARD })