8000 [JENKINS-36144] Code review catches bugs... who'd have thunk it · github-cloud/github-plugin@dddd6bc · GitHub
[go: up one dir, main page]

Skip to content

Commit dddd6bc

Browse files
committed
[JENKINS-36144] Code review catches bugs... who'd have thunk it
1 parent 3fd5cfe commit dddd6bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/cloudbees/jenkins/GitHubPushTrigger.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ synchronized void checkThreadPoolSizeAndUpdateIfNecessary() {
256256
if (scmTrigger != null) {
257257
int count = scmTrigger.getPollingThreadCount();
258258
if (maximumThreads != count) {
259+
maximumThreads = count;
259260
queue.setExecutors(
260261
(count == 0
261262
? Executors.newCachedThreadPool(threadFactory())

0 commit comments

Comments
 (0)
0