Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Moving check for new Pull Requests into separate thread pool #147

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kmoco2am
Copy link

Pull Request builder is using Jenkins cron thread to check for new pull requests in Stash and it is causing JENKINS-41336 on large instances. So this is an implementation of the same strategy which is used in Github Pull Request Builder plugin to offload the real check into own thread pool with limited size.

@Override
public void run() {
try {
stashPullRequestsBuilder.run();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it by intentention that all exceptions are ignored now?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's say it is not intentional. Let me add the fix for this.

@kmoco2am
Copy link
Author

kmoco2am commented Dec 6, 2018

We have the plugin deployed, works properly with the fix and cron is working normally too.

@kmoco2am
Copy link
Author

@darxriggs Is there anything I can do to make this PR merged?

@darxriggs
Copy link

@kmoco2am I was an ordinary user of this plugin back in 2018 and tried to help make some progress with this pull request. Two years later it looks like the plugin is not maintained anymore.

@nemccarthy
Copy link
Owner

nemccarthy commented Nov 16, 2020

Sorry @darxriggs & @kmoco2am I'm no longer maintaining this as I no longer use Stash but I understand there are a lot of users. This plugin is being maintained by the upstream jenkis project. https://github.com/jenkinsci/stash-pullrequest-builder-plugin I have asked for volunteers a while back, but if either of you would like to be contributors and maintain this plugin I would be very greatful. Let me know and I'll add you to this repo as there are a few pending PRs

@darxriggs
Copy link

Thanks for updating the README accordingly.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants