forked from lix-project/hydra
Put a 5-second CPU time limit on the log processing pipeline.
This commit is contained in:
parent
1e1a1f0838
commit
d31e4469bb
|
@ -158,7 +158,7 @@ sub showLog {
|
|||
. " | nix-log2xml | xsltproc " . $c->path_to("xsl/mark-errors.xsl") . " -"
|
||||
. " | xsltproc " . $c->path_to("xsl/log2html.xsl") . " - | tail -n +2";
|
||||
$c->stash->{template} = 'log.tt';
|
||||
$c->stash->{logtext} = `$pipeline`;
|
||||
$c->stash->{logtext} = `ulimit -t 5 ; $pipeline`;
|
||||
}
|
||||
|
||||
elsif ($mode eq "raw") {
|
||||
|
|
Loading…
Reference in a new issue