From fbb95cd54b82a684e86c8668b386fc311f5fef74 Mon Sep 17 00:00:00 2001 From: stephenconnolly Date: Mon, 6 Aug 2007 08:55:54 +0000 Subject: [PATCH] Proactive fix in case some plugins take too long to calculate their health report. Will now cache the health reports until the next build. Should speed display of main page. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4106 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/model/Job.java | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/hudson/model/Job.java b/core/src/main/java/hudson/model/Job.java index f496e66e72..d9c3c51778 100644 --- a/core/src/main/java/hudson/model/Job.java +++ b/core/src/main/java/hudson/model/Job.java @@ -73,6 +73,13 @@ public abstract class Job, RunT extends Run cachedBuildHealthReports = null; private boolean keepDependencies; @@ -546,7 +553,13 @@ public abstract class Job, RunT extends Run, RunT extends Run(reports); } - Collections.sort(reports); return reports; }