|
|
|
@ -240,6 +240,7 @@ function updateProgress(taskId, data) {
|
|
|
|
|
score: finalResult.score |
|
|
|
|
}; |
|
|
|
|
forAllClients(detailProgressNamespace, taskId, (client) => { |
|
|
|
|
try { |
|
|
|
|
winston.debug(`Pushing progress update to ${client}`); |
|
|
|
|
if (clientDetailProgressList[client] && clientDisplayConfigList[client]) { |
|
|
|
|
const original = clientDetailProgressList[client].content; |
|
|
|
@ -254,6 +255,9 @@ function updateProgress(taskId, data) {
|
|
|
|
|
}); |
|
|
|
|
clientDetailProgressList[client].version++; |
|
|
|
|
} |
|
|
|
|
} catch (e) { |
|
|
|
|
console.log(e); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
exports.updateProgress = updateProgress; |
|
|
|
|