fix(#2635): drop obsolete todos_db/reminders_db path aliases

This commit is contained in:
damocles 2026-07-23 14:30:47 +02:00 committed by mara
commit a7f0f3d231
3 changed files with 8 additions and 20 deletions

View file

@ -65,9 +65,9 @@ fn sweep_once() {
}
}
let reminders_db = crate::paths::reminders_db();
if reminders_db.exists() {
match vacuum_reminders(&reminders_db) {
let state_db = crate::paths::state_db();
if state_db.exists() {
match vacuum_reminders(&state_db) {
Ok(0) => {}
Ok(n) => tracing::info!(removed = n, "reminders vacuum"),
Err(e) => tracing::warn!(error = ?e, "reminders vacuum failed"),