X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fthread%2FasyncErrorWorker.js;h=f696b101947d6dc7ed180feae6fe7a0f763797b6;hb=3725d989b40800f70d495107b363c7efa2c96fc3;hp=c73fd2919230f03234726bba99e957e86596206b;hpb=dbca3be954130834defeb4084096272ecf660c5c;p=poolifier.git diff --git a/tests/worker-files/thread/asyncErrorWorker.js b/tests/worker-files/thread/asyncErrorWorker.js index c73fd291..f696b101 100644 --- a/tests/worker-files/thread/asyncErrorWorker.js +++ b/tests/worker-files/thread/asyncErrorWorker.js @@ -12,6 +12,6 @@ async function error (data) { } module.exports = new ThreadWorker(error, { - maxInactiveTime: 500, - killBehavior: KillBehaviors.HARD + killBehavior: KillBehaviors.HARD, + maxInactiveTime: 500 })