Increased test timeouts, we need to look into that as soon as we can
[poolifier.git] / tests / worker / thread / echoWorker.js
index 006bf97cd390f59f2c5bd37c28a2bfbb307a889b..3b554ccc4588dc0b2675149bfb46a706a5222767 100644 (file)
@@ -1,8 +1,11 @@
 'use strict'
-const { ThreadWorker } = require('../../../lib/index')
+const { ThreadWorker, killBehaviorEnumeration } = require('../../../lib/index')
 
 function echo (data) {
   return data
 }
 
-module.exports = new ThreadWorker(echo, { maxInactiveTime: 500 })
+module.exports = new ThreadWorker(echo, {
+  maxInactiveTime: 500,
+  killBehavior: killBehaviorEnumeration.HARD
+})