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

Fix token count in archival rate limiter #3749

Merged
merged 2 commits into from Dec 28, 2022
Merged

Conversation

MichaelSnowden
Copy link
Contributor

What changed?
Fixed a small perf. issue in the archiver.

Why?
We acquire 2 rate-limiter tokens when we only need one sometimes

How did you test it?
Updated unit test

Potential risks
None

Is hotfix candidate?
No

@MichaelSnowden MichaelSnowden requested a review from a team as a code owner December 21, 2022 21:02
@MichaelSnowden MichaelSnowden enabled auto-merge (squash) December 28, 2022 17:34
@MichaelSnowden MichaelSnowden merged commit e57f97f into master Dec 28, 2022
@MichaelSnowden MichaelSnowden deleted the durable-archival/token branch December 28, 2022 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants