forked from lix-project/lix
Revert "Let's not populate the NAR cache from hydra-queue-runner for now"
This reverts commit 908590dc6c
. Since
hydra-server can have a different store URI from hydra-queue-runner
now, we don't really need this.
This commit is contained in:
parent
908590dc6c
commit
ef1d0142a0
|
@ -116,7 +116,7 @@ void BinaryCacheStore::addToStore(const ValidPathInfo & info, const ref<std::str
|
||||||
|
|
||||||
if (accessor_) {
|
if (accessor_) {
|
||||||
accessor_->nars.emplace(info.path, narAccessor);
|
accessor_->nars.emplace(info.path, narAccessor);
|
||||||
//accessor_->addToCache(info.path, *nar);
|
accessor_->addToCache(info.path, *nar);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::function<void(const Path &, JSONPlaceholder &)> recurse;
|
std::function<void(const Path &, JSONPlaceholder &)> recurse;
|
||||||
|
@ -164,7 +164,7 @@ void BinaryCacheStore::addToStore(const ValidPathInfo & info, const ref<std::str
|
||||||
else {
|
else {
|
||||||
if (accessor_) {
|
if (accessor_) {
|
||||||
accessor_->nars.emplace(info.path, makeNarAccessor(nar));
|
accessor_->nars.emplace(info.path, makeNarAccessor(nar));
|
||||||
//accessor_->addToCache(info.path, *nar);
|
accessor_->addToCache(info.path, *nar);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue