mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
live preview error handling
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -118,7 +118,7 @@ function requestProgress(id_task, progressEl, galleryEl, atEnd = null, onProgres
|
||||
const elapsedFromStart = (new Date() - dateStart) / 1000;
|
||||
hasStarted |= res.active;
|
||||
if (res.completed || (!res.active && (hasStarted || once)) || (elapsedFromStart > 30 && !res.queued && res.progress === prevProgress)) {
|
||||
debug('onProgressEnd', res);
|
||||
// debug('onProgressEnd', res);
|
||||
done();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user