mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue