Don't set Expires header for logs of unfinished builds/steps

This commit is contained in:
Eelco Dolstra
2015-08-12 12:22:14 +02:00
parent 576dc0c120
commit 2e3899ed27
2 changed files with 8 additions and 4 deletions

View File

@ -20,7 +20,7 @@ sub process {
}
binmode($fh);
setCacheHeaders($c, 365 * 24 * 60 * 60);
setCacheHeaders($c, 365 * 24 * 60 * 60) if $c->stash->{finished};
$c->response->body($fh);