This commit is contained in:
Mateusz Gruszczyński
2026-09-17 08:52:02 +02:00
parent ff4f2b60e7
commit b7846c3b9f
87 changed files with 3783 additions and 1418 deletions
+7 -2
View File
@@ -148,8 +148,13 @@ pub fn start(state: AppState) {
Ok(_) => {}
Err(err) => tracing::warn!(error=?err, "cannot compact history"),
}
match maintenance_state.db.compact_network_history(compaction_days) {
Ok(count) if count > 0 => tracing::info!(count, "connectivity history samples compacted"),
match maintenance_state
.db
.compact_network_history(compaction_days)
{
Ok(count) if count > 0 => {
tracing::info!(count, "connectivity history samples compacted")
}
Ok(_) => {}
Err(err) => tracing::warn!(error=?err, "cannot compact connectivity history"),
}