From e1fe930845a5e0125aeba310c93fae86cae078fc Mon Sep 17 00:00:00 2001 From: Milo <50248166+Milo123459@users.noreply.github.com> Date: Fri, 14 Jan 2022 22:06:30 +0000 Subject: [PATCH] fix overly --- crates/rust-analyzer/src/main_loop.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rust-analyzer/src/main_loop.rs b/crates/rust-analyzer/src/main_loop.rs index af987230de..830b77f391 100644 --- a/crates/rust-analyzer/src/main_loop.rs +++ b/crates/rust-analyzer/src/main_loop.rs @@ -524,7 +524,7 @@ impl GlobalState { } let loop_duration = loop_start.elapsed(); - if loop_duration > Duration::from_millis(100) { + if loop_duration > Duration::from_millis(100) && was_quiescent { tracing::warn!("overly long loop turn: {:?}", loop_duration); self.poke_rust_analyzer_developer(format!( "overly long loop turn: {:?}",