mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-07-24 13:13:43 +00:00
feat: evict analysis caches before exact min revision (#819)
This commit is contained in:
parent
b844240212
commit
4581d10703
1 changed files with 2 additions and 2 deletions
|
@ -1098,12 +1098,12 @@ impl RevisionManagerLike for AnalysisRevCache {
|
|||
.expr_stage
|
||||
.global
|
||||
.lock()
|
||||
.retain(|_, r| r.0 + 60 >= rev);
|
||||
.retain(|_, r| r.0 >= rev);
|
||||
self.default_slot
|
||||
.type_check
|
||||
.global
|
||||
.lock()
|
||||
.retain(|_, r| r.0 + 60 >= rev);
|
||||
.retain(|_, r| r.0 >= rev);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue