mirror of
https://github.com/imputnet/cobalt.git
synced 2026-03-05 13:49:48 +00:00
web/queue: add remuxing progress & general improvements
and a bunch of other stuff: - size and percentage in queue - indeterminate progress bar - if libav wasm freezes, the worker kill itself - cleaner states - cleaner props
This commit is contained in:
@@ -23,16 +23,16 @@ export const checkTasks = () => {
|
||||
// one parent & pipeline
|
||||
const pipelineItem = task.pipeline[i];
|
||||
|
||||
startWorker(pipelineItem);
|
||||
|
||||
addWorkerToQueue({
|
||||
id: pipelineItem.workerId,
|
||||
addWorkerToQueue(pipelineItem.workerId, {
|
||||
parentId: task.id,
|
||||
step: i + 1,
|
||||
totalSteps: task.pipeline.length,
|
||||
});
|
||||
|
||||
itemRunning(task.id, i);
|
||||
itemRunning(
|
||||
task.id,
|
||||
pipelineItem.workerId
|
||||
);
|
||||
|
||||
startWorker(pipelineItem);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user