You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The BitbucketCloudApiClient currently uses a fixed wait time of 5 seconds if rate-limited.
As bitbucket rate-limit is hourly based, permanently waiting for 5 seconds doesn't seem to be very useful.
Especially if multiple requests are already rate-limited, the number of requests seems to be increasing unecessarily.
Therefore, I would propose to change the backoff strategy to an exponential one, in order to avoid lots of requests.
BitbucketServerApiClient seems to be already using an exponential backoff in the retry strategy.
Upstream changes
No response
Are you interested in contributing this feature?
yes, I already have solution on one of my local branches and will open a PR for further discussion in a few minutes
The text was updated successfully, but these errors were encountered:
What feature do you want to see added?
The BitbucketCloudApiClient currently uses a fixed wait time of 5 seconds if rate-limited.
As bitbucket rate-limit is hourly based, permanently waiting for 5 seconds doesn't seem to be very useful.
Especially if multiple requests are already rate-limited, the number of requests seems to be increasing unecessarily.
Therefore, I would propose to change the backoff strategy to an exponential one, in order to avoid lots of requests.
BitbucketServerApiClient seems to be already using an exponential backoff in the retry strategy.
Upstream changes
No response
Are you interested in contributing this feature?
yes, I already have solution on one of my local branches and will open a PR for further discussion in a few minutes
The text was updated successfully, but these errors were encountered: