Fix copy-paste

This commit is contained in:
Bart
2026-05-31 17:49:06 -04:00
parent 1cbaf5bbd0
commit 7f2b93dab1

View File

@@ -175,10 +175,10 @@ SHAMapStoreImp::makeNodeStore(int readThreads)
std::to_string(app_.config().getValueFor(SizedItem::TreeCacheSize, std::nullopt)));
}
if (!nscfg.exists(Keys::kCacheSize))
if (!nscfg.exists(Keys::kCacheAge))
{
nscfg.set(
Keys::kCacheSize,
Keys::kCacheAge,
std::to_string(app_.config().getValueFor(SizedItem::TreeCacheAge, std::nullopt)));
}