diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-03-12 11:43:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-12 11:43:31 +0100 |
commit | d048577909e383439c2549e849c5c2f2016c997e (patch) | |
tree | d33617f79c6aa9c158d4a23e023c9e391eaffa29 /src/libstore/binary-cache-store.cc | |
parent | 15edd2349e9e343dad761d513ffdcb121688777c (diff) | |
parent | 3f55f8a8fb5e885297e288c078adc173316addf2 (diff) |
Merge pull request #3403 from hercules-ci/issue-3398-path-info-cache-ttls
pathInfoCache: Respect disk cache TTLs #3398
Diffstat (limited to 'src/libstore/binary-cache-store.cc')
-rw-r--r-- | src/libstore/binary-cache-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/binary-cache-store.cc b/src/libstore/binary-cache-store.cc index 717faec92..3a2d84861 100644 --- a/src/libstore/binary-cache-store.cc +++ b/src/libstore/binary-cache-store.cc @@ -106,7 +106,7 @@ void BinaryCacheStore::writeNarInfo(ref<NarInfo> narInfo) { auto state_(state.lock()); - state_->pathInfoCache.upsert(hashPart, std::shared_ptr<NarInfo>(narInfo)); + state_->pathInfoCache.upsert(hashPart, PathInfoCacheValue { .value = std::shared_ptr<NarInfo>(narInfo) }); } if (diskCache) |