-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: core
-
Labels:
-
Similar Issues:
The option for the thread count for SCM polling is only shown when there are more than 10 items in Jenkins.
This can have fatal (for Jenkins) consequences:
- Folders support: The option is not shown if you have e.g. ~5 folders with 4k items each, a situation that likely warrants a sane limit to the number of parallel polling operations.
- The option is hidden when the number of jobs drops below 10, and any form submit results in the default 0 (no thread limit) being set.
Both combined can quickly kill large Jenkins instances.
Code changed in jenkins
User: Daniel Beck
Path:
core/src/main/java/hudson/triggers/SCMTrigger.java
core/src/main/resources/hudson/triggers/SCMTrigger/global.jelly
http://jenkins-ci.org/commit/jenkins/7860c4e62003617c6fbb16d71c9eccfde9f10db7
Log:
[FIXED JENKINS-22934] Show poll thread count option when necessary.
(cherry picked from commit e4902e7e8ab7a21e84ea21a36395b0e2a5077019)