repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge dependabot/npm_and_yarn/examples/typescript/websocket-server-pool/ws-worker_thr...
[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 eda5a4059643c3efd092a9e269ad54b18fc8ecd7..3b90236c97cbdb61677fb2b4aae4bb08fadc8ca6 100644
(file)
--- a/
tests/worker-files/thread/longRunningWorkerSoftBehavior.js
+++ b/
tests/worker-files/thread/longRunningWorkerSoftBehavior.js
@@
-1,9
+1,9
@@
'use strict'
const { ThreadWorker } = require('../../../lib')
'use strict'
const { ThreadWorker } = require('../../../lib')
-const { sleep
Worker
Function } = require('../../test-utils')
+const { sleep
Task
Function } = require('../../test-utils')
async function sleep (data) {
async function sleep (data) {
- return sleep
Worker
Function(data, 50000)
+ return sleep
Task
Function(data, 50000)
}
module.exports = new ThreadWorker(sleep, {
}
module.exports = new ThreadWorker(sleep, {