Skip to content

Commit

Permalink
Revert "Let's not populate the NAR cache from hydra-queue-runner for …
Browse files Browse the repository at this point in the history
…now"

This reverts commit 908590d. Since
hydra-server can have a different store URI from hydra-queue-runner
now, we don't really need this.
  • Loading branch information
edolstra committed Oct 19, 2017
1 parent 908590d commit ef1d014
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstore/binary-cache-store.cc
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
}

Expand Down

0 comments on commit ef1d014

Please sign in to comment.