summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
cf597bc)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
const TestUtils = require('../../test-utils')
async function sleep (data) {
const TestUtils = require('../../test-utils')
async function sleep (data) {
- return await TestUtils.workerSleepFunction(data, 2000)
+ return TestUtils.workerSleepFunction(data, 2000)
}
module.exports = new ClusterWorker(sleep, {
}
module.exports = new ClusterWorker(sleep, {
const TestUtils = require('../../test-utils')
async function sleep (data) {
const TestUtils = require('../../test-utils')
async function sleep (data) {
- return await TestUtils.workerSleepFunction(data, 50000)
+ return TestUtils.workerSleepFunction(data, 50000)
}
module.exports = new ClusterWorker(sleep, {
}
module.exports = new ClusterWorker(sleep, {
const TestUtils = require('../../test-utils')
async function sleep (data) {
const TestUtils = require('../../test-utils')
async function sleep (data) {
- return await TestUtils.workerSleepFunction(data, 50000)
+ return TestUtils.workerSleepFunction(data, 50000)
}
module.exports = new ClusterWorker(sleep, {
}
module.exports = new ClusterWorker(sleep, {
const TestUtils = require('../../test-utils')
async function sleep (data) {
const TestUtils = require('../../test-utils')
async function sleep (data) {
- return await TestUtils.workerSleepFunction(data, 2000)
+ return TestUtils.workerSleepFunction(data, 2000)
}
module.exports = new ThreadWorker(sleep, {
}
module.exports = new ThreadWorker(sleep, {
const TestUtils = require('../../test-utils')
async function sleep (data) {
const TestUtils = require('../../test-utils')
async function sleep (data) {
- return await TestUtils.workerSleepFunction(data, 50000)
+ return TestUtils.workerSleepFunction(data, 50000)
}
module.exports = new ThreadWorker(sleep, {
}
module.exports = new ThreadWorker(sleep, {
const TestUtils = require('../../test-utils')
async function sleep (data) {
const TestUtils = require('../../test-utils')
async function sleep (data) {
- return await TestUtils.workerSleepFunction(data, 50000)
+ return TestUtils.workerSleepFunction(data, 50000)
}
module.exports = new ThreadWorker(sleep, {
}
module.exports = new ThreadWorker(sleep, {