From 8c10331ee818a21699a8b774cccdd32f476f8ba6 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Sun, 10 Dec 2023 14:05:26 -0500 Subject: [PATCH] Fix `totalNarSize` summation I accidentally removed it in d0d3b0a2986915ab7aa96d3fce8371a5012c9021. --- src/hydra-queue-runner/build-remote.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hydra-queue-runner/build-remote.cc b/src/hydra-queue-runner/build-remote.cc index 1fdd5a23..41c7c453 100644 --- a/src/hydra-queue-runner/build-remote.cc +++ b/src/hydra-queue-runner/build-remote.cc @@ -341,6 +341,7 @@ static std::map queryPathInfos( auto storePath = localStore.parseStorePath(storePathS); auto info = ServeProto::Serialise::read(localStore, conn); + totalNarSize += info.narSize; infos.insert_or_assign(std::move(storePath), std::move(info)); }