From 2f4676bd9780fae433ae207aa715986aae78d67b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 25 Jun 2015 16:59:41 +0200 Subject: [PATCH] JSONObject doesn't handle 64-bit integers --- src/hydra-queue-runner/hydra-queue-runner.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hydra-queue-runner/hydra-queue-runner.cc b/src/hydra-queue-runner/hydra-queue-runner.cc index 79ef3a04..9a1c2652 100644 --- a/src/hydra-queue-runner/hydra-queue-runner.cc +++ b/src/hydra-queue-runner/hydra-queue-runner.cc @@ -1595,8 +1595,8 @@ void State::dumpStatus(Connection & conn, bool log) root.attr("nrStepsBuilding", nrStepsBuilding); root.attr("nrStepsCopyingTo", nrStepsCopyingTo); root.attr("nrStepsCopyingFrom", nrStepsCopyingFrom); - root.attr("bytesSent", bytesSent); - root.attr("bytesReceived", bytesReceived); + root.attr("bytesSent"); out << bytesSent; + root.attr("bytesReceived"); out << bytesReceived; root.attr("nrBuildsRead", nrBuildsRead); root.attr("nrBuildsDone", nrBuildsDone); root.attr("nrStepsDone", nrStepsDone);