build(deps): bump poolifier
[poolifier.git] / tests / worker-files / thread / longRunningWorkerSoftBehavior.js
index c6fa5393f44830bd9e8af28dabc473ad6198d8b3..3b90236c97cbdb61677fb2b4aae4bb08fadc8ca6 100644 (file)
@@ -1,12 +1,11 @@
 'use strict'
 const { ThreadWorker } = require('../../../lib')
-const TestUtils = require('../../test-utils')
+const { sleepTaskFunction } = require('../../test-utils')
 
 async function sleep (data) {
-  return TestUtils.sleepWorkerFunction(data, 50000)
+  return sleepTaskFunction(data, 50000)
 }
 
 module.exports = new ThreadWorker(sleep, {
-  maxInactiveTime: 500,
-  async: true
+  maxInactiveTime: 500
 })