Skip to content

Commit e1fe930

Browse files
committed
fix overly
1 parent 54c9998 commit e1fe930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rust-analyzer/src/main_loop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ impl GlobalState {
524524
}
525525

526526
let loop_duration = loop_start.elapsed();
527-
if loop_duration > Duration::from_millis(100) {
527+
if loop_duration > Duration::from_millis(100) && was_quiescent {
528528
tracing::warn!("overly long loop turn: {:?}", loop_duration);
529529
self.poke_rust_analyzer_developer(format!(
530530
"overly long loop turn: {:?}",

0 commit comments

Comments
 (0)