X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fcluster%2FtestMultipleTaskFunctionsWorker.js;h=2bb525e2ff3194b1169b6cb38d6310729b9a2df5;hb=cc08e83b5ac049bd9abad4e8f4760c16e60e6909;hp=5072691b6e197d54f0b1444d447ca80b630e186b;hpb=90d7d101196cf9702ccc1d220dd33cca67a427b0;p=poolifier.git diff --git a/tests/worker-files/cluster/testMultipleTaskFunctionsWorker.js b/tests/worker-files/cluster/testMultipleTaskFunctionsWorker.js index 5072691b..2bb525e2 100644 --- a/tests/worker-files/cluster/testMultipleTaskFunctionsWorker.js +++ b/tests/worker-files/cluster/testMultipleTaskFunctionsWorker.js @@ -13,7 +13,7 @@ module.exports = new ClusterWorker( fibonacci: (data) => fibonacci(data.n) }, { - maxInactiveTime: 500, - killBehavior: KillBehaviors.HARD + killBehavior: KillBehaviors.HARD, + maxInactiveTime: 500 } )