fix: fix formatting issue.
[poolifier.git] / tests / worker-files / cluster / errorWorker.js
index d23ba27b31692d74866fdd2ddb2f9caf8763fac7..b8e11d369d20c3ff06e2fc506f83aeda39feaa49 100644 (file)
@@ -1,12 +1,11 @@
 'use strict'
-const { ClusterWorker, KillBehaviors } = require('../../../lib/index')
+const { ClusterWorker, KillBehaviors } = require('../../../lib')
 
 function error () {
   throw new Error('Error Message from ClusterWorker')
 }
 
 module.exports = new ClusterWorker(error, {
-  maxInactiveTime: 500,
-  async: false,
-  killBehavior: KillBehaviors.HARD
+  killBehavior: KillBehaviors.HARD,
+  maxInactiveTime: 500
 })