Don't show logs bigger than 64 MB

[?]
Aug 30, 2013, 8:44 PM
CNEQ7L4GUZRSS5VTNVW5PRXHASWGYFNW7YTSHIBOFNM7C454NH5AC

Dependencies

  • [2] Y6AHH4TH Remove the logfile and logSize columns from the database
  • [*] LBNVQXUB * Build the /build stuff in a separate controller.
  • [*] Q24QXGSM * Don't do pretty printing for large logs, because the XSLT processing

Change contents

  • edit in src/lib/Hydra/Controller/Build.pm at line 150
    [2.492]
    [5.198]
    my $size = stat($logPath)->size;
    error($c, "This build log is too big to display ($size bytes).")
    if $size >= 64 * 1024 * 1024;