jenkinsci / jenkinsci/scm-api-plugin

[JENKINS-60893] Number of thread for webhook processing is hardcoded

Open
#418 0 comments 0 reactions 0 assignees View on GitHub
component:scm-api-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
33
Forks
87
PR merge metrics
No merged PRs in 30d

Description

The number of threads used for concurrent webhook processing is hardcoded to 10, but there are some scenarios where an administrator would like to increase or reduce this number.

For instance, I have several slow processes due to Bitbucket API rate limit. Once 10 of those processes are in progress, no other webhook is being processed (although those other processes would go quite fast because they are from a different user, they are waiting for ages because 10 slow requests are still running)

---
Originally reported by luispiedra, imported from: Number of thread for webhook processing is hardcoded


  • status: Open
  • priority: Major
  • component(s): scm-api-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251223-222157

Raw content of original issue

The number of threads used for concurrent webhook processing is hardcoded to 10, but there are some scenarios where an administrator would like to increase or reduce this number.

For instance, I have several slow processes due to Bitbucket API rate limit. Once 10 of those processes are in progress, no other webhook is being processed (although those other processes would go quite fast because they are from a different user, they are waiting for ages because 10 slow requests are still running)

environment

```
Jenkins 2.204.1

scm'api'plugin 2.6.3

branch-api-plugin 2.5.5
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.