aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/projectstore/httpprojectstore.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-04-26 14:10:20 +0200
committerGitHub Enterprise <[email protected]>2024-04-26 14:10:20 +0200
commit8479e339cbf0b133f97a93b110d95fd8674916d3 (patch)
tree6a51a13cfccc77becdb53df3de40475308e470a4 /src/zenserver/projectstore/httpprojectstore.cpp
parent5.5.0 (diff)
downloadzen-8479e339cbf0b133f97a93b110d95fd8674916d3.tar.xz
zen-8479e339cbf0b133f97a93b110d95fd8674916d3.zip
oplog iterate chunks content type (#65)
- Bugfix: Properly set content type of chunks fetch from CidStore - Improvement: Add IterateChunks(std::span<Oid>) for better performance in get oplog
Diffstat (limited to 'src/zenserver/projectstore/httpprojectstore.cpp')
-rw-r--r--src/zenserver/projectstore/httpprojectstore.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/zenserver/projectstore/httpprojectstore.cpp b/src/zenserver/projectstore/httpprojectstore.cpp
index f2bf5b353..83038372e 100644
--- a/src/zenserver/projectstore/httpprojectstore.cpp
+++ b/src/zenserver/projectstore/httpprojectstore.cpp
@@ -1205,11 +1205,6 @@ HttpProjectService::HandleOpLogOpRequest(HttpRouterRequest& Req)
Op.IterateAttachments([&](CbFieldView FieldView) {
const IoHash AttachmentHash = FieldView.AsAttachment();
IoBuffer Payload = m_CidStore.FindChunkByCid(AttachmentHash);
-
- // We force this for now as content type is not consistently tracked (will
- // be fixed in CidStore refactor)
- Payload.SetContentType(ZenContentType::kCompressedBinary);
-
if (Payload)
{
switch (Payload.GetContentType())