repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
docs: update benchmarks vs. external pools
[poolifier.git]
/
tests
/
worker-files
/
thread
/
longRunningWorkerSoftBehavior.js
diff --git
a/tests/worker-files/thread/longRunningWorkerSoftBehavior.js
b/tests/worker-files/thread/longRunningWorkerSoftBehavior.js
index 1204809334544c44ca2eae19374bde4bc527b8af..c6fa5393f44830bd9e8af28dabc473ad6198d8b3 100644
(file)
--- a/
tests/worker-files/thread/longRunningWorkerSoftBehavior.js
+++ b/
tests/worker-files/thread/longRunningWorkerSoftBehavior.js
@@
-1,9
+1,9
@@
'use strict'
'use strict'
-const { ThreadWorker } = require('../../../lib
/index
')
+const { ThreadWorker } = require('../../../lib')
const TestUtils = require('../../test-utils')
async function sleep (data) {
const TestUtils = require('../../test-utils')
async function sleep (data) {
- return
await TestUtils.workerSleep
Function(data, 50000)
+ return
TestUtils.sleepWorker
Function(data, 50000)
}
module.exports = new ThreadWorker(sleep, {
}
module.exports = new ThreadWorker(sleep, {