Skip to content

Commit f7268dd

Browse files
bors[bot]matklad
andauthored
Merge #2938
2938: Fix long loop timeout r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
2 parents abc5828 + 7cc0a86 commit f7268dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ra_lsp_server/src/main_loop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ fn loop_turn(
434434
}
435435

436436
let loop_duration = loop_start.elapsed();
437-
if loop_duration > Duration::from_millis(10) {
437+
if loop_duration > Duration::from_millis(100) {
438438
log::error!("overly long loop turn: {:?}", loop_duration);
439439
if env::var("RA_PROFILE").is_ok() {
440440
show_message(

0 commit comments

Comments
 (0)