Details
-
Improvement
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
Description
Placeholder for https://github.com/jenkinsci/jenkins/pull/3143
Attachments
Issue Links
- is related to
-
JENKINS-48821 Time remaining for all pipeline jobs is N/A
-
- Resolved
-
- relates to
-
JENKINS-50030 Job.getEstimatedDurationCandidates should not force loading of builds
-
- Open
-
Code changed in jenkins
User: Alexander Akbashev
Path:
core/src/main/java/hudson/model/Executor.java
http://jenkins-ci.org/commit/jenkins/e0ea7a648ed6970897ea2c49bc662439ec4e4110
Log:
JENKINS-48350Cache estimated duration for executionIn case of having 1000s of ongoing builds opening main pages can take
some time if list of executors are opened. It happens because for every
queury that comes from jelly we re-calculate the value from scratch. And
calculation needs to load some builds from disk. The worst thing is that it
happens for every user separately.
(cherry picked from commit d7b120fea37b46b863c89acb638d04cdddc868b4)