mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
Merge #11287
11287: fix: rust-analyzer spamming overly error message when workspace not being loaded r=lnicola a=Milo123459 Fixes #10120 Co-authored-by: Milo <50248166+Milo123459@users.noreply.github.com>
This commit is contained in:
commit
e6e72809e3
1 changed files with 1 additions and 1 deletions
|
@ -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: {:?}",
|
||||
|
|
Loading…
Reference in a new issue