diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-01-29 13:04:46 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-01-29 13:04:46 +0000 |
commit | f7268ddab2fc1483a01e06bfaadc976659a1aadd (patch) | |
tree | a89fc6b7049348a99d1fe772b6d592197fb0ffb1 /crates | |
parent | abc5828c057f65c8caa7e1adaca4d55519be457b (diff) | |
parent | 7cc0a8652870402db3b072cab030ba28d6b96b39 (diff) |
Merge #2938
2938: Fix long loop timeout r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/main_loop.rs b/crates/ra_lsp_server/src/main_loop.rs index 9901fe931..d850ded37 100644 --- a/crates/ra_lsp_server/src/main_loop.rs +++ b/crates/ra_lsp_server/src/main_loop.rs | |||
@@ -434,7 +434,7 @@ fn loop_turn( | |||
434 | } | 434 | } |
435 | 435 | ||
436 | let loop_duration = loop_start.elapsed(); | 436 | let loop_duration = loop_start.elapsed(); |
437 | if loop_duration > Duration::from_millis(10) { | 437 | if loop_duration > Duration::from_millis(100) { |
438 | log::error!("overly long loop turn: {:?}", loop_duration); | 438 | log::error!("overly long loop turn: {:?}", loop_duration); |
439 | if env::var("RA_PROFILE").is_ok() { | 439 | if env::var("RA_PROFILE").is_ok() { |
440 | show_message( | 440 | show_message( |