Branch: refs/heads/stable-2.89 Home: https://github.com/jenkinsci/jenkins Commit: eb41a7bb0a58474a0fc627ca1cb8f2002ad26b47 https://github.com/jenkinsci/jenkins/commit/eb41a7bb0a58474a0fc627ca1cb8f2002ad26b47 Author: Alexander Akbashev <mr.akbas...@gmail.com> Date: 2018-01-25 (Thu, 25 Jan 2018)
Changed paths: M core/src/main/java/hudson/model/Queue.java Log Message: ----------- [JENKINS-48348] If task can be run only on master, use shortcut Currently Jenkins to fire WorkflowJob re-calculates the ConstistentHash for entire cluster even if there is no nodes were updated. If cluster is big enough (>100 nodes), it becomes a problem, because MD5 is quite expensive itself plus all this logic comes with high memory footprint. Using the knowledge that WorkflowJob can be executed only on Jenkins master, we can create a shortcut that does not do expensive calculation and just returns Runnable or `null`. (cherry picked from commit 00ccd23f6441a55bfd625660911d4bc79c7578ba) Commit: e0ea7a648ed6970897ea2c49bc662439ec4e4110 https://github.com/jenkinsci/jenkins/commit/e0ea7a648ed6970897ea2c49bc662439ec4e4110 Author: Alexander Akbashev <mr.akbas...@gmail.com> Date: 2018-01-25 (Thu, 25 Jan 2018) Changed paths: M core/src/main/java/hudson/model/Executor.java Log Message: ----------- [JENKINS-48350] Cache estimated duration for execution In 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) Commit: bed6ccd71921c9321919f7a042864dbbbf63243a https://github.com/jenkinsci/jenkins/commit/bed6ccd71921c9321919f7a042864dbbbf63243a Author: Daniel Beck <daniel-b...@users.noreply.github.com> Date: 2018-01-25 (Thu, 25 Jan 2018) Changed paths: M core/pom.xml M core/src/main/java/hudson/security/csrf/CrumbFilter.java A core/src/main/resources/hudson/security/csrf/CrumbFilter/retry.jelly A core/src/main/resources/hudson/security/csrf/CrumbFilter/retry.properties M test/src/test/java/hudson/security/csrf/DefaultCrumbIssuerTest.java Log Message: ----------- Merge pull request #3187 from daniel-beck/JENKINS-34254-v2 [JENKINS-34254] Fix RequirePOST form (cherry picked from commit 76c9f8beacc681663571c925b5ee090222407e34) Compare: https://github.com/jenkinsci/jenkins/compare/2904044e5105...bed6ccd71921 -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.