diff options
| author | Milo <50248166+Milo123459@users.noreply.github.com> | 2022-01-14 22:06:30 +0000 |
|---|---|---|
| committer | Milo <50248166+Milo123459@users.noreply.github.com> | 2022-01-14 22:06:30 +0000 |
| commit | e1fe930845a5e0125aeba310c93fae86cae078fc (patch) | |
| tree | 1e334e444d8ae8282dbd93a5ee551ea51fef980e | |
| parent | 54c999893396434725c284fdcfeeb4d47340d53f (diff) | |
| download | rust-e1fe930845a5e0125aeba310c93fae86cae078fc.tar.gz rust-e1fe930845a5e0125aeba310c93fae86cae078fc.zip | |
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 af987230def..830b77f3918 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: {:?}", |
