X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fthread%2FlongRunningWorkerHardBehavior.js;h=3c707eb55548adeb2ac587381161bb41d8adb084;hb=6d0425b42424c7924c4f26ecea79f32a449c469d;hp=120e8e5ffa3e4ce457225d831a5c8556a28027cb;hpb=cf597bc58029b9b5bf861c29fa9e917a6a72d859;p=poolifier.git diff --git a/tests/worker-files/thread/longRunningWorkerHardBehavior.js b/tests/worker-files/thread/longRunningWorkerHardBehavior.js index 120e8e5f..3c707eb5 100644 --- a/tests/worker-files/thread/longRunningWorkerHardBehavior.js +++ b/tests/worker-files/thread/longRunningWorkerHardBehavior.js @@ -3,7 +3,7 @@ const { ThreadWorker, KillBehaviors } = require('../../../lib/index') const TestUtils = require('../../test-utils') async function sleep (data) { - return await TestUtils.workerSleepFunction(data, 50000) + return TestUtils.workerSleepFunction(data, 50000) } module.exports = new ThreadWorker(sleep, {