From 7a76dd3b54d75d32e012e738b5e48b387cb1ec35 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 12 Aug 2020 10:59:47 +0100 Subject: [PATCH] sg-report-job-history: Cache report_run_getinfo No logical change. Signed-off-by: Ian Jackson --- sg-report-job-history | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5