aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/buildstore/buildstore.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2025-10-20 13:37:58 +0200
committerGitHub Enterprise <[email protected]>2025-10-20 13:37:58 +0200
commit6e587f57d8c5cc9d37346bfa49eda174e01a697e (patch)
tree5aff25f3da3be737a8a25448c6cac4e055abd818 /src/zenstore/buildstore/buildstore.cpp
parentupdated chunking strategy (#589) (diff)
downloadzen-6e587f57d8c5cc9d37346bfa49eda174e01a697e.tar.xz
zen-6e587f57d8c5cc9d37346bfa49eda174e01a697e.zip
fix builds storage stats (#590)
* restructure builds storage stats to match web-ui expectations
Diffstat (limited to 'src/zenstore/buildstore/buildstore.cpp')
-rw-r--r--src/zenstore/buildstore/buildstore.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/zenstore/buildstore/buildstore.cpp b/src/zenstore/buildstore/buildstore.cpp
index 5c6aa099c..aa28d8900 100644
--- a/src/zenstore/buildstore/buildstore.cpp
+++ b/src/zenstore/buildstore/buildstore.cpp
@@ -580,6 +580,9 @@ BuildStore::GetStorageStats() const
Result.MetadataByteCount += Metadata.GetSize();
}
}
+
+ Result.BlobLogByteCount = m_PayloadlogFile.GetLogSize();
+ Result.MetadataLogByteCount = m_MetadatalogFile.GetLogSize();
}
return Result;
}