X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fcluster%2FlongRunningWorkerHardBehavior.js;h=ee6b93cc87c922019d08d7809533b8f2b1305425;hb=8974e0633f6c99528bf3590e7c76820b2c69d3e2;hp=f2c0c1e40bd1c23671aa62679a0475b08e6c2fb6;hpb=dbca3be954130834defeb4084096272ecf660c5c;p=poolifier.git diff --git a/tests/worker-files/cluster/longRunningWorkerHardBehavior.js b/tests/worker-files/cluster/longRunningWorkerHardBehavior.js index f2c0c1e4..ee6b93cc 100644 --- a/tests/worker-files/cluster/longRunningWorkerHardBehavior.js +++ b/tests/worker-files/cluster/longRunningWorkerHardBehavior.js @@ -7,6 +7,6 @@ async function sleep (data) { } module.exports = new ClusterWorker(sleep, { - maxInactiveTime: 500, - killBehavior: KillBehaviors.HARD + killBehavior: KillBehaviors.HARD, + maxInactiveTime: 500 })