Reconcile stale running scrapes and allow per-scrape delete
This commit is contained in:
@@ -190,6 +190,11 @@ export class MediaService {
|
||||
}
|
||||
});
|
||||
|
||||
const stale = this.engine.reconcileStaleJobs();
|
||||
if (stale.length) {
|
||||
this.deps.log?.(`paused ${stale.length} stale scrape(s) left running by a previous daemon`);
|
||||
}
|
||||
|
||||
// Preview passes only run when a walk ends; fill in scrapes that paused early.
|
||||
void this.backfillPreviews();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user