repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chore: v2.4.3
[poolifier.git]
/
tests
/
worker-files
/
thread
/
asyncWorker.js
diff --git
a/tests/worker-files/thread/asyncWorker.js
b/tests/worker-files/thread/asyncWorker.js
index 730d10ce26385e3ca1a88ab50dd59e4257d290eb..2191a12e85240de96646fc2d2dfd4d10622ab5d0 100644
(file)
--- a/
tests/worker-files/thread/asyncWorker.js
+++ b/
tests/worker-files/thread/asyncWorker.js
@@
-3,7
+3,7
@@
const { ThreadWorker, KillBehaviors } = require('../../../lib/index')
const TestUtils = require('../../test-utils')
async function sleep (data) {
const TestUtils = require('../../test-utils')
async function sleep (data) {
- return
await TestUtils.workerSleep
Function(data, 2000)
+ return
TestUtils.sleepWorker
Function(data, 2000)
}
module.exports = new ThreadWorker(sleep, {
}
module.exports = new ThreadWorker(sleep, {