diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-10-19T10·11+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-10-19T10·11+0200 |
commit | ef1d0142a056d4441fb6ba8ecb42da833ebb3ba0 (patch) | |
tree | 95b99f59f2dba1ae61ea5fe027e2ce7f66d3caf8 /src | |
parent | 908590dc6cfcca3a98755b194d93b2da39aee95c (diff) |
Revert "Let's not populate the NAR cache from hydra-queue-runner for now"
This reverts commit 908590dc6cfcca3a98755b194d93b2da39aee95c. Since hydra-server can have a different store URI from hydra-queue-runner now, we don't really need this.
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/binary-cache-store.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/binary-cache-store.cc b/src/libstore/binary-cache-store.cc index 1a565c60b23b..67607ab3d43a 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); } } |