From: Ian Jackson Date: Wed, 12 Aug 2020 09:59:47 +0000 (+0100) Subject: sg-report-job-history: Cache report_run_getinfo X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=7a76dd3b54d75d32e012e738b5e48b387cb1ec35;p=osstest.git sg-report-job-history: Cache report_run_getinfo No logical change. Signed-off-by: Ian Jackson --- diff --git a/sg-report-job-history b/sg-report-job-history index 2cac123..5d2a7e1 100755 --- a/sg-report-job-history +++ b/sg-report-job-history @@ -159,7 +159,7 @@ END while (my $f= $flightsq->fetchrow_hashref()) { cache_row_lookup_prep(\$f); - my $ri= report_run_getinfo($f); + my $ri= cacheable_fn($f, 'rri', sub { report_run_getinfo($f) }); $ri->{Hosts} = cacheable_fn($f, 'h', sub { my %hosts;