* hydra: enable pp'ing of logs for bigger files again

[?]
Nov 25, 2009, 9:39 AM
YW66LY44BACQYP3JTJU34ZW4DJAKTBUU3HWDH4B4ZXMAR37YBRCQC

Dependencies

  • [2] Q24QXGSM * Don't do pretty printing for large logs, because the XSLT processing
  • [3] C2DCO6AS
  • [4] LBNVQXUB * Build the /build stuff in a separate controller.
  • [5] 6F4UNDTC * Provide access to the raw, non-pretty-printed logfiles.
  • [6] QE253KG4 * Option to show the tail of a log.

Change contents

  • edit in src/lib/Hydra/Controller/Build.pm at line 69
    [3.70][3.335:336](),[3.336][2.17:198]()
    # Don't do pretty printing for large logs, because the XSLT
    # processing is rather slow.
    if (!$mode && stat($path)->size >= (256 * 1024)) {
    $mode = "raw";
    }