Merge dependabot/npm_and_yarn/examples/typescript/http-server-pool/fastify-worker_thr...
[poolifier.git] / tests / worker-files / thread / emptyWorker.js
index 6a146c2653496f99238945c6648aa1dbe51ab4e2..d77b472d22ac3291b5657b8107a6a1c69861f6b7 100644 (file)
@@ -1,9 +1,9 @@
 'use strict'
-const { ThreadWorker, KillBehaviors } = require('../../../lib/index')
+const { ThreadWorker, KillBehaviors } = require('../../../lib')
 
-function test (data) {}
+function test () {}
 
 module.exports = new ThreadWorker(test, {
-  maxInactiveTime: 500,
-  killBehavior: KillBehaviors.HARD
+  killBehavior: KillBehaviors.HARD,
+  maxInactiveTime: 500
 })