mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Merge #2938
2938: Fix long loop timeout r=matklad a=matklad Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
f7268ddab2
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ fn loop_turn(
|
||||||
}
|
}
|
||||||
|
|
||||||
let loop_duration = loop_start.elapsed();
|
let loop_duration = loop_start.elapsed();
|
||||||
if loop_duration > Duration::from_millis(10) {
|
if loop_duration > Duration::from_millis(100) {
|
||||||
log::error!("overly long loop turn: {:?}", loop_duration);
|
log::error!("overly long loop turn: {:?}", loop_duration);
|
||||||
if env::var("RA_PROFILE").is_ok() {
|
if env::var("RA_PROFILE").is_ok() {
|
||||||
show_message(
|
show_message(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue