This commit is contained in:
Mateusz Gruszczyński committed 2026-10-11 22:55:22 +02:00
1 parent 4cc994b3bc
commit 79fd198949
48 files changed
+922 -202

No files matched your search

+5 -2
View File
@@ -431,6 +431,9 @@ async fn run(
} else {
grace
};
if managed_update {
tracing::info!(budget_seconds = cache_flush_budget.as_secs(), "managed-update hot-to-cold cache handoff started");
}
let flush_result = if managed_update {
tokio::time::timeout(
cache_flush_budget,
@@ -441,9 +444,9 @@ async fn run(
tokio::time::timeout(cache_flush_budget, state.cache.flush_hot_to_cold()).await
};
match flush_result {
Ok(moved) if moved > 0 && managed_update => tracing::info!(
Ok(moved) if managed_update => tracing::info!(
moved,
"managed update moved hot cache objects to cold storage"
"managed-update hot-to-cold cache handoff completed"
),
Ok(moved) if moved > 0 => tracing::info!(
moved,