X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fworker-files%2Fcluster%2FasyncWorker.js;h=bceaffaee96e0e32f7f22c151930acfb0c57b3d8;hb=9c8526b801b42a5b40bfa5cec6f6e2082ffc9da7;hp=70db6a8777966c681e010803a7c6562cc36a5ea3;hpb=cf597bc58029b9b5bf861c29fa9e917a6a72d859;p=poolifier.git diff --git a/tests/worker-files/cluster/asyncWorker.js b/tests/worker-files/cluster/asyncWorker.js index 70db6a87..bceaffae 100644 --- a/tests/worker-files/cluster/asyncWorker.js +++ b/tests/worker-files/cluster/asyncWorker.js @@ -3,7 +3,7 @@ const { ClusterWorker, KillBehaviors } = require('../../../lib/index') const TestUtils = require('../../test-utils') async function sleep (data) { - return await TestUtils.workerSleepFunction(data, 2000) + return TestUtils.workerSleepFunction(data, 2000) } module.exports = new ClusterWorker(sleep, {