diff options
| author | Wilfred Hughes <wilfred@meta.com> | 2024-08-13 16:26:37 -0700 |
|---|---|---|
| committer | Wilfred Hughes <wilfred@meta.com> | 2024-08-19 10:27:53 -0700 |
| commit | f25cb8073c2a10648fff0a267e3c41817a81b1a0 (patch) | |
| tree | e8e62d472f470bfee8c5216170075d79be04e4ef /tests/codegen/patchable-function-entry | |
| parent | f9c0c8a7794b9a9679a82e95a8af67ba62948582 (diff) | |
| download | rust-f25cb8073c2a10648fff0a267e3c41817a81b1a0.tar.gz rust-f25cb8073c2a10648fff0a267e3c41817a81b1a0.zip | |
ServerStatusParams should consider 'prime caches' in quiescent status
Priming caches is a performance win, but it takes a lock on the salsa database and prevents rust-analyzer from responding to e.g. go-to-def requests. This causes confusion for users, who see the spinner next to rust-analyzer in the VS Code footer stop, so they start attempting to navigate their code. Instead, set the `quiescent` status in LSP to false during cache priming, so the VS Code spinner persists until we can respond to any LSP request.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions
