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:
parent
492b1a3168
commit
e5b9fc8ae0
4 changed files with 231 additions and 93 deletions
|
|
@ -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
|
||||
),
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue