* Don't do pretty printing for large logs, because the XSLT processing

[?]
Apr 16, 2009, 3:22 PM
Q24QXGSMSBGB32S45SNOJO2ZDXEDRZQ2OGYVDVOH4I3QCAWSSIAQC

Dependencies

  • [2] QE253KG4 * Option to show the tail of a log.
  • [*] LBNVQXUB * Build the /build stuff in a separate controller.
  • [*] 6F4UNDTC * Provide access to the raw, non-pretty-printed logfiles.

Change contents

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