Make maxLogSize configurable

This commit is contained in:
Eelco Dolstra
2017-09-22 15:23:58 +02:00
parent d9cbf8cf01
commit 27103398c9
3 changed files with 3 additions and 1 deletions

View File

@ -266,7 +266,7 @@ void State::buildRemote(ref<Store> destStore,
to << cmdBuildDerivation << step->drvPath << basicDrv;
to << maxSilentTime << buildTimeout;
if (GET_PROTOCOL_MINOR(remoteVersion) >= 2)
to << 64 * 1024 * 1024; // == maxLogSize
to << maxLogSize;
if (GET_PROTOCOL_MINOR(remoteVersion) >= 3) {
to << repeats // == build-repeat
<< step->isDeterministic; // == enforce-determinism