diff options
| author | Dan Engelbrecht <[email protected]> | 2025-11-06 08:57:36 +0100 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2025-11-06 08:57:36 +0100 |
| commit | 77a6b637ee95c36d361417fbb1fd4013e94f4fb2 (patch) | |
| tree | 3d866dfa926afb8ec68a39f47083b4ab53359362 | |
| parent | add curl_code to warning (diff) | |
| download | zen-77a6b637ee95c36d361417fbb1fd4013e94f4fb2.tar.xz zen-77a6b637ee95c36d361417fbb1fd4013e94f4fb2.zip | |
disable split/compress and just compress
| -rw-r--r-- | src/zenremotestore/chunking/chunkingcontroller.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/zenremotestore/chunking/chunkingcontroller.cpp b/src/zenremotestore/chunking/chunkingcontroller.cpp index 91ca18d10..3f5f91c79 100644 --- a/src/zenremotestore/chunking/chunkingcontroller.cpp +++ b/src/zenremotestore/chunking/chunkingcontroller.cpp @@ -484,12 +484,15 @@ public: if (m_SplitAndCompressExtensionHashes.contains(ExtensionHash)) { +#if 0 if (RawSize < m_Settings.SplitAndCompressMinSize) { return false; } BasicFile Source(InputPath, BasicFile::Mode::kRead); return FixedChunking(Source, RawSize, OutChunked, BytesProcessed, m_Settings.SplitAndCompressChunkSize, AbortFlag); +#endif // 0 + return false; } if (RawSize > sizeof(uint32_t) && !m_Settings.SplitAndCompressFileLeadingBytes.empty()) @@ -501,6 +504,7 @@ public: m_Settings.SplitAndCompressFileLeadingBytes.end(), LeadingBytes) != m_Settings.SplitAndCompressFileLeadingBytes.end()) { +#if 0 if (RawSize < m_Settings.SplitAndCompressMinSize) { return false; @@ -509,6 +513,8 @@ public: { return FixedChunking(Source, RawSize, OutChunked, BytesProcessed, m_Settings.SplitAndCompressChunkSize, AbortFlag); } +#endif // 0 + return false; } } |