Unnamed repository; edit this file 'description' to name the repository.
fix overly
| -rw-r--r-- | crates/rust-analyzer/src/main_loop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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: {:?}", |