web/queue: make completedWorkers into set, require pipelineResults
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
return 100;
|
||||
} else if (item.state === "running") {
|
||||
return totalItemProgress(
|
||||
item.completedWorkers?.length || 0,
|
||||
item.completedWorkers.size,
|
||||
$currentTasks[item.runningWorker]?.progress?.percentage || 0,
|
||||
item.pipeline.length || 0
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user