summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/buildstream/_cas/cascache.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/buildstream/_cas/cascache.py b/src/buildstream/_cas/cascache.py
index e5fc530a7..03d7e5dda 100644
--- a/src/buildstream/_cas/cascache.py
+++ b/src/buildstream/_cas/cascache.py
@@ -823,7 +823,9 @@ class CASCache():
# already in local repository
return objpath
- remote._fetch_blob(digest)
+ batch = _CASBatchRead(remote)
+ batch.add(digest)
+ batch.send()
return objpath