Skip to content

Commit

Permalink
fix: preloading refers to the CONTENT chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWaldmann committed Sep 17, 2024
1 parent 15ff4b4 commit 04ffe46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/borg/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def _build_files_cache(self):
logger.debug("Building files cache ...")
files_cache_logger.debug("FILES-CACHE-BUILD: starting...")
archive = Archive(self.manifest, self.previous_archive_id)
for item in archive.iter_items(preload=True):
for item in archive.iter_items(preload=False):
# only put regular files' infos into the files cache:
if stat.S_ISREG(item.mode):
assert "chunks" in item # TODO: is item.chunks ready?
Expand Down

0 comments on commit 04ffe46

Please sign in to comment.