X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fthread%2FlongRunningWorkerHardBehavior.js;h=daa381edb226803d905f19314a31530dc357532b;hb=24bddda97c976ec2ae518d27f033d16f76bec370;hp=d81f7f9020c1500d715a8ac5077c91c6e0334701;hpb=bac873bd6581e5d5c0884bc520e9ec3c446509e6;p=poolifier.git diff --git a/tests/worker-files/thread/longRunningWorkerHardBehavior.js b/tests/worker-files/thread/longRunningWorkerHardBehavior.js index d81f7f90..daa381ed 100644 --- a/tests/worker-files/thread/longRunningWorkerHardBehavior.js +++ b/tests/worker-files/thread/longRunningWorkerHardBehavior.js @@ -1,9 +1,9 @@ 'use strict' const { ThreadWorker, KillBehaviors } = require('../../../lib') -const { sleepWorkerFunction } = require('../../test-utils') +const { sleepTaskFunction } = require('../../test-utils') async function sleep (data) { - return sleepWorkerFunction(data, 50000) + return sleepTaskFunction(data, 50000) } module.exports = new ThreadWorker(sleep, {