|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [OSSTEST PATCH 57/60] sg-report-job-history: Cache report_run_getinfo
No logical change.
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
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 2cac123b..5d2a7e15 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.11.0
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |