Skip to content
Snippets Groups Projects
Unverified Commit ef1d0142 authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

Revert "Let's not populate the NAR cache from hydra-queue-runner for now"

This reverts commit 908590dc. Since
hydra-server can have a different store URI from hydra-queue-runner
now, we don't really need this.
parent 908590dc
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment