v0.14.21
This commit is contained in:
@@ -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"),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user