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

This commit is contained in:
Eelco Dolstra 2017-10-18 15:45:39 +02:00
parent 75cd75b1ae
commit 908590dc6c
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -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);
}
}