Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Cache commit information identified by hash #838

Closed
thomas-boehm-tractive opened this issue Mar 28, 2024 · 0 comments · Fixed by #839
Closed

Cache commit information identified by hash #838

thomas-boehm-tractive opened this issue Mar 28, 2024 · 0 comments · Fixed by #839

Comments

@thomas-boehm-tractive
Copy link
Contributor

What feature do you want to see added?

Currently, the plugin sends a lot of requests to bitbucket for commit information in BitbucketCloudApiClient.java, requests to /commit/{hash}
Those requests could be reduced quite a lot by caching this information, as a commit, identified by the hash, doesn't change anymore.
This improves the problem of rate-limited requests to Bitbucket Cloud.

Upstream changes

No response

Are you interested in contributing this feature?

yes, I already have a working version and will open a PR for further discussion in a few minutes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant