fix overly

This commit is contained in:
Milo 2022-01-14 22:06:30 +00:00
parent 54c9998933
commit e1fe930845

View file

@ -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: {:?}",