diff --git a/packages/server/src/workflows/index.js b/packages/server/src/workflows/index.js index 7acc8a1a21..acc2c2871f 100644 --- a/packages/server/src/workflows/index.js +++ b/packages/server/src/workflows/index.js @@ -5,17 +5,17 @@ const singleThread = require("./thread") let workers = workerFarm(require.resolve("./thread")) -function runWorker(job) { - return new Promise((resolve, reject) => { - workers(job, err => { - if (err) { - reject(err) - } else { - resolve() - } - }) - }) -} +// function runWorker(job) { +// return new Promise((resolve, reject) => { +// workers(job, err => { +// if (err) { +// reject(err) +// } else { +// resolve() +// } +// }) +// }) +// } /** * This module is built purely to kick off the worker farm and manage the inputs/outputs