fix(#2635): drop obsolete todos_db/reminders_db path aliases
This commit is contained in:
parent
c316dc852d
commit
a7f0f3d231
3 changed files with 8 additions and 20 deletions
|
|
@ -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"),
|
||||
|
|
|
|||
Loading…
Reference in a new issue