repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: check worker aliveness in all case
[poolifier.git]
/
tests
/
worker-files
/
thread
/
longRunningWorkerHardBehavior.js
diff --git
a/tests/worker-files/thread/longRunningWorkerHardBehavior.js
b/tests/worker-files/thread/longRunningWorkerHardBehavior.js
index 3c707eb55548adeb2ac587381161bb41d8adb084..a295da7bc647aa7ab5e49ab432d92096f11968a6 100644
(file)
--- a/
tests/worker-files/thread/longRunningWorkerHardBehavior.js
+++ b/
tests/worker-files/thread/longRunningWorkerHardBehavior.js
@@
-3,7
+3,7
@@
const { ThreadWorker, KillBehaviors } = require('../../../lib/index')
const TestUtils = require('../../test-utils')
async function sleep (data) {
- return TestUtils.
workerSleep
Function(data, 50000)
+ return TestUtils.
sleepWorker
Function(data, 50000)
}
module.exports = new ThreadWorker(sleep, {