build(deps-dev): apply updates
[poolifier.git] / tests / worker-files / thread / errorWorker.js
index 841af907f1b2f6c290282c91adfc6afec5ae4ed4..c4937c93ce9f1b45603bd0cfbef82d605602b3c3 100644 (file)
@@ -1,12 +1,11 @@
 'use strict'
 const { ThreadWorker, KillBehaviors } = require('../../../lib/index')
 
-function error (data) {
+function error () {
   throw new Error('Error Message from ThreadWorker')
 }
 
 module.exports = new ThreadWorker(error, {
   maxInactiveTime: 500,
-  async: false,
   killBehavior: KillBehaviors.HARD
 })