diff options
| author | Stefan Boberg <[email protected]> | 2021-10-19 22:33:44 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-10-19 22:33:44 +0200 |
| commit | b5d2318c8e54b21e61dd6b3e77137dae6593b981 (patch) | |
| tree | 3976a242186085138d7f067f431075ae22c215e7 /zenserver/cache/structuredcachestore.cpp | |
| parent | Merge from main (diff) | |
| download | zen-b5d2318c8e54b21e61dd6b3e77137dae6593b981.tar.xz zen-b5d2318c8e54b21e61dd6b3e77137dae6593b981.zip | |
gc: Made ref tracking optional on `ZEN_USE_REF_TRACKING`
Ref tracking is not fully functional anyway
Diffstat (limited to 'zenserver/cache/structuredcachestore.cpp')
| -rw-r--r-- | zenserver/cache/structuredcachestore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zenserver/cache/structuredcachestore.cpp b/zenserver/cache/structuredcachestore.cpp index eb3c1d47a..e28b2b2d8 100644 --- a/zenserver/cache/structuredcachestore.cpp +++ b/zenserver/cache/structuredcachestore.cpp @@ -83,7 +83,7 @@ ZenCacheStore::Put(std::string_view InBucket, const IoHash& HashKey, const ZenCa m_DiskLayer.Put(InBucket, HashKey, Value); -#if ZEN_REF_TRACKING +#if ZEN_USE_REF_TRACKING if (Value.Value.GetContentType() == ZenContentType::kCbObject) { if (ValidateCompactBinary(Value.Value, CbValidateMode::All) == CbValidateError::None) |