refactor: move helpers to utils.ts file
[poolifier.git] / tests / worker-files / cluster / asyncWorker.js
index b9ad419f82f97e61646ecd6c35cbb89ab9b6ec83..c9bcc8921474dc1f0af630a0268097ad24a8ee95 100644 (file)
@@ -1,5 +1,5 @@
 'use strict'
-const { ClusterWorker, KillBehaviors } = require('../../../lib/index')
+const { ClusterWorker, KillBehaviors } = require('../../../lib')
 const TestUtils = require('../../test-utils')
 
 async function sleep (data) {
@@ -8,6 +8,5 @@ async function sleep (data) {
 
 module.exports = new ClusterWorker(sleep, {
   maxInactiveTime: 500,
-  async: true,
   killBehavior: KillBehaviors.HARD
 })