repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into chore/use-biome
[poolifier.git]
/
tests
/
worker-files
/
cluster
/
longRunningWorkerSoftBehavior.js
diff --git
a/tests/worker-files/cluster/longRunningWorkerSoftBehavior.js
b/tests/worker-files/cluster/longRunningWorkerSoftBehavior.js
index 208e5ba2d46da64e9d1418f68e0f10abe8a54deb..cd057ef06562455a2b30a93140ba23efa404c568 100644
(file)
--- a/
tests/worker-files/cluster/longRunningWorkerSoftBehavior.js
+++ b/
tests/worker-files/cluster/longRunningWorkerSoftBehavior.js
@@
-1,9
+1,9
@@
'use strict'
const { ClusterWorker } = require('../../../lib')
'use strict'
const { ClusterWorker } = 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 ClusterWorker(sleep, {
}
module.exports = new ClusterWorker(sleep, {