v0.31.7
This commit is contained in:
1 parent
4cc994b3bc
commit
79fd198949
48 files changed
+922
-202
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user