|
|
@ -107,7 +107,10 @@ module.exports = function (state) {
|
|
|
|
task: task,
|
|
|
|
task: task,
|
|
|
|
taskVersion: taskVersion,
|
|
|
|
taskVersion: taskVersion,
|
|
|
|
resultLimit: 1000, // TODO: Make configurable
|
|
|
|
resultLimit: 1000, // TODO: Make configurable
|
|
|
|
dependencyTaskDefinitions: JSON.stringify(taskDependencies)
|
|
|
|
dependencyTaskDefinitions: JSON.stringify(taskDependencies.map((dependency) => {
|
|
|
|
|
|
|
|
// Case-mapping for SQL compatibility
|
|
|
|
|
|
|
|
return { task_version: dependency.taskVersion, task: dependency.task };
|
|
|
|
|
|
|
|
}))
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}).then((result) => {
|
|
|
|
}).then((result) => {
|
|
|
|
let timeElapsed = Date.now() - startTime;
|
|
|
|
let timeElapsed = Date.now() - startTime;
|
|
|
|