aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-10-10 10:16:19 +0200
committerGitHub <[email protected]>2023-10-10 10:16:19 +0200
commitf9a85ccc17f5b24c0aa635f6ca4d04dc2b0003df (patch)
tree91782a905b6e128c5d741ceb0cb76547cdd0865c /src
parentminor fixes to zencore (#457) (diff)
downloadzen-f9a85ccc17f5b24c0aa635f6ca4d04dc2b0003df.tar.xz
zen-f9a85ccc17f5b24c0aa635f6ca4d04dc2b0003df.zip
fixed GC logging output stats (#458)
disk usage stats are now properly reported in log messages
Diffstat (limited to 'src')
-rw-r--r--src/zenstore/gc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenstore/gc.cpp b/src/zenstore/gc.cpp
index ef8945d91..bddc3a42a 100644
--- a/src/zenstore/gc.cpp
+++ b/src/zenstore/gc.cpp
@@ -991,8 +991,8 @@ GcScheduler::SchedulerThread()
NiceBytes(TotalSize.DiskSize),
DiskSizeSoftLimit == 0 ? "" : fmt::format(", {} soft limit", NiceBytes(DiskSizeSoftLimit)),
m_Config.RootDirectory,
+ NiceBytes(Space.Total - Space.Free),
NiceBytes(Space.Free),
- NiceBytes(Space.Total),
NiceTimeSpanMs(uint64_t(std::chrono::milliseconds(LoadGraphTime).count())),
NiceTimeSpanMs(uint64_t(std::chrono::milliseconds(LoadGraphTime).count() / PressureGraphLength)),
LoadGraph,