about summary refs log tree commit diff
path: root/src/nix-worker/nix-worker.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2008-11-12T11·08+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2008-11-12T11·08+0000
commita519bb063505a8d39e6b1e12f130d66771676e23 (patch)
tree409ae5b6acf3a63e8fe3b6669c2f452d4a8b8841 /src/nix-worker/nix-worker.cc
parent96598e7b06dad0de082730cab8992eacc440e535 (diff)
* Some somewhat ad hoc mechanism to allow the build farm to monitor
  build progress.

Diffstat (limited to 'src/nix-worker/nix-worker.cc')
-rw-r--r--src/nix-worker/nix-worker.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nix-worker/nix-worker.cc b/src/nix-worker/nix-worker.cc
index ddc58c024b91..7511b1c2c1e7 100644
--- a/src/nix-worker/nix-worker.cc
+++ b/src/nix-worker/nix-worker.cc
@@ -426,8 +426,11 @@ static void performOp(unsigned int clientVersion,
         maxSilentTime = readInt(from);
         if (GET_PROTOCOL_MINOR(clientVersion) >= 2)
             useBuildHook = readInt(from) != 0;
-        if (GET_PROTOCOL_MINOR(clientVersion) >= 4)
+        if (GET_PROTOCOL_MINOR(clientVersion) >= 4) {
             buildVerbosity = (Verbosity) readInt(from);
+            logType = (LogType) readInt(from);
+            printBuildTrace = readInt(from) != 0;
+        }
         startWork();
         stopWork();
         break;