diff options
| author | Dan Engelbrecht <[email protected]> | 2022-11-21 10:00:09 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-11-21 01:00:09 -0800 |
| commit | 50abc293630421ea00202ee994906831199d7ad5 (patch) | |
| tree | b6f0580e75ddff659a23653346cf68395272fcbf | |
| parent | 0.1.9-pre2 (diff) | |
| download | zen-50abc293630421ea00202ee994906831199d7ad5.tar.xz zen-50abc293630421ea00202ee994906831199d7ad5.zip | |
bump cache large object size limit to 128Kb (#191)
* bump cache large object size limit to 128Kb
* changelog
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | zenserver/cache/structuredcachestore.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 69d70d679..d34d6300c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - `import-project <target-folder> <project> [oplogs...]` - Feature: Configure OpenID providers from cmd line and Lua cfg - Feature: Added zen command line executable to release distribution +- Improvement: Bumped limit for storing cache values as separate files to reduce number of loose files - Improvement: Optimizations when handling compressed buffer (less materialization and reading of headers) - Improvement: Send attachments as file references if the IoBuffer we find represents a complete file and `AcceptFlags` in RPC request allows it. diff --git a/zenserver/cache/structuredcachestore.h b/zenserver/cache/structuredcachestore.h index 79684be94..ae1fdf3d3 100644 --- a/zenserver/cache/structuredcachestore.h +++ b/zenserver/cache/structuredcachestore.h @@ -256,7 +256,7 @@ private: std::filesystem::path m_BlocksBasePath; BlockStore m_BlockStore; Oid m_BucketId; - uint64_t m_LargeObjectThreshold = 64 * 1024; + uint64_t m_LargeObjectThreshold = 128 * 1024; // These files are used to manage storage of small objects for this bucket |