Merge dependabot/npm_and_yarn/examples/typescript/http-server-pool/fastify-worker_thr...
[poolifier.git] / tests / worker-files / thread / testWorker.js
index 64e7921acd3d8fb4a7f2e031c32b92100980396e..3945589f80cb088306c278ffcd5610526a615f6a 100644 (file)
@@ -10,6 +10,6 @@ function test (data) {
 }
 
 module.exports = new ThreadWorker(test, {
-  maxInactiveTime: 500,
-  killBehavior: KillBehaviors.HARD
+  killBehavior: KillBehaviors.HARD,
+  maxInactiveTime: 500
 })