X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fcluster%2FasyncWorker.js;h=f07625bd974bc5a6d0cc215547c1326962f2ee2d;hb=0b1c4776f6899146402edfece652a637bf745780;hp=b03a505486e4af776ba12c830c53fb80ad68f221;hpb=dbca3be954130834defeb4084096272ecf660c5c;p=poolifier.git diff --git a/tests/worker-files/cluster/asyncWorker.js b/tests/worker-files/cluster/asyncWorker.js index b03a5054..f07625bd 100644 --- a/tests/worker-files/cluster/asyncWorker.js +++ b/tests/worker-files/cluster/asyncWorker.js @@ -7,6 +7,6 @@ async function sleep (data) { } module.exports = new ClusterWorker(sleep, { - maxInactiveTime: 500, - killBehavior: KillBehaviors.HARD + killBehavior: KillBehaviors.HARD, + maxInactiveTime: 500 })