about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-10-18T13·45+0200
committerEelco Dolstra <edolstra@gmail.com>2017-10-18T13·45+0200
commit908590dc6cfcca3a98755b194d93b2da39aee95c (patch)
tree375ba2aafa9f5c37e197068f397f537ffbad6986
parent75cd75b1ae3d32267ec5b92f7e047dc9ea33f075 (diff)
Let's not populate the NAR cache from hydra-queue-runner for now
-rw-r--r--src/libstore/binary-cache-store.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/binary-cache-store.cc b/src/libstore/binary-cache-store.cc
index 67607ab3d43a..1a565c60b23b 100644
--- a/src/libstore/binary-cache-store.cc
+++ b/src/libstore/binary-cache-store.cc
@@ -116,7 +116,7 @@ void BinaryCacheStore::addToStore(const ValidPathInfo & info, const ref<std::str
 
             if (accessor_) {
                 accessor_->nars.emplace(info.path, narAccessor);
-                accessor_->addToCache(info.path, *nar);
+                //accessor_->addToCache(info.path, *nar);
             }
 
             std::function<void(const Path &, JSONPlaceholder &)> recurse;
@@ -164,7 +164,7 @@ void BinaryCacheStore::addToStore(const ValidPathInfo & info, const ref<std::str
     else {
         if (accessor_) {
             accessor_->nars.emplace(info.path, makeNarAccessor(nar));
-            accessor_->addToCache(info.path, *nar);
+            //accessor_->addToCache(info.path, *nar);
         }
     }