mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
fix overly
This commit is contained in:
parent
54c9998933
commit
e1fe930845
1 changed files with 1 additions and 1 deletions
|
@ -524,7 +524,7 @@ impl GlobalState {
|
||||||
}
|
}
|
||||||
|
|
||||||
let loop_duration = loop_start.elapsed();
|
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);
|
tracing::warn!("overly long loop turn: {:?}", loop_duration);
|
||||||
self.poke_rust_analyzer_developer(format!(
|
self.poke_rust_analyzer_developer(format!(
|
||||||
"overly long loop turn: {:?}",
|
"overly long loop turn: {:?}",
|
||||||
|
|
Loading…
Reference in a new issue