Make maxLogSize configurable

[?]
Sep 22, 2017, 1:23 PM
IGLIPGT6YNX4JNXGZM27GJHUQK72DSWSO7LNJ5OAHVGYVIXSDWNAC

Dependencies

  • [2] FHVJYJFE Upload build logs to the binary cache
  • [3] BYVRA54Q Temporarily disable machines on any exception, not just connection failures
  • [4] EFWDY2V7 Support testing build determinism
  • [5] NAYQT2GT hydra-queue-runner: Use cmdBuildDerivation
  • [6] EPWEMRI2 Allow determinism checking for entire jobsets
  • [*] 5AIYUMTB Basic remote building
  • [*] 24BMQDZA Start of single-process hydra-queue-runner
  • [*] NSBNNM77 Add hydra.conf option "nar_buffer_size" to configure memoryTokens limit
  • [*] HJOEIMLR Refactor
  • [*] BG6PEOB2 Make the output size limit configurable

Change contents

  • replacement in src/hydra-queue-runner/build-remote.cc at line 269
    [3.3712][3.3712:3765]()
    to << 64 * 1024 * 1024; // == maxLogSize
    [3.3712]
    [3.82]
    to << maxLogSize;
  • edit in src/hydra-queue-runner/hydra-queue-runner.cc at line 88
    [10.1572]
    [2.684]
    , maxLogSize(config->getIntOption("max_log_size", 64ULL << 20))
  • edit in src/hydra-queue-runner/state.hh at line 423
    [10.2366]
    [12.4352]
    size_t maxLogSize;