mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
fix: update cache threshold condition in RepoMap class
This commit is contained in:
parent
4d6bb2b1f1
commit
4ccd7d9d4f
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ class RepoMap:
|
|||
# https://networkx.org/documentation/stable/_modules/networkx/algorithms/link_analysis/pagerank_alg.html#pagerank
|
||||
personalize = 100 / len(fnames)
|
||||
|
||||
if len(self.TAGS_CACHE) < self.cache_threshold * len(fnames):
|
||||
if len(fnames) - len(self.TAGS_CACHE) > 100:
|
||||
fnames = tqdm(fnames)
|
||||
|
||||
for fname in fnames:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue