Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix: add some stavation buffer time (#1810)

Sean Aye949e8988f4e7
diff --git a/rust/cloud-storage/macro_tower_layers/src/lib.rs b/rust/cloud-storage/macro_tower_layers/src/lib.rs
index 519d3c4dfa..e2e017691f 100644
--- a/rust/cloud-storage/macro_tower_layers/src/lib.rs
+++ b/rust/cloud-storage/macro_tower_layers/src/lib.rs
@@ -164,7 +164,7 @@ pub fn spawn_starvation_detector(interval: Duration) {
let before = tokio::time::Instant::now();
tick.tick().await;
let elapsed = before.elapsed();
- if elapsed > interval {
+ if elapsed > interval + Duration::from_millis(5) {
tracing::warn!(
expected_ms = interval.as_millis() as u64,
actual_ms = elapsed.as_millis() as u64,