mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
make LRU_CAP configurable for batch db
This commit is contained in:
parent
fc2658b074
commit
15668119de
3 changed files with 11 additions and 4 deletions
|
@ -65,6 +65,8 @@ pub struct FileRange {
|
|||
pub range: TextRange,
|
||||
}
|
||||
|
||||
pub const DEFAULT_LRU_CAP: usize = 128;
|
||||
|
||||
/// Database which stores all significant input facts: source code and project
|
||||
/// model. Everything else in rust-analyzer is derived from these queries.
|
||||
#[salsa::query_group(SourceDatabaseStorage)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue