1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-10-09 21:03:17 +02:00

fix: recover and preserve summary attempts

This commit is contained in:
archivr-qa 2026-08-24 15:31:04 +02:00
parent 492b1a3168
commit e5b9fc8ae0
No known key found for this signature in database
4 changed files with 231 additions and 93 deletions

View file

@ -98,6 +98,17 @@ async fn main() -> Result<()> {
),
_ => {}
}
match archivr_core::database::fail_stalled_entry_summaries(&conn) {
Ok(n) if n > 0 => eprintln!(
"info: marked {n} stalled summary attempt(s) as failed in '{}'",
archive.id
),
Err(e) => eprintln!(
"warn: stalled summary cleanup failed for '{}': {e:#}",
archive.id
),
_ => {}
}
}
}