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

Move dynamic ratelimiter to its own file #5451

Merged
merged 3 commits into from
Nov 17, 2023

Conversation

jakobht
Copy link
Member

@jakobht jakobht commented Nov 16, 2023

What changed?
Moved dynamic rate limiter struct to it's own file file, we should not have multiple structs in the same file
Also expanded on comment for dynamic ratelimiter struct to make it more clear what it does

Why?
We should not have multiple structs in the same file, it makes to code hard to navigate

How did you test it?
I just moved things inside a package, so there is no sematic changes

Potential risks
I just moved things inside a package, so there is no sematic changes

@jakobht jakobht changed the title Move dynamic ratelimiter to its own struct Move dynamic ratelimiter to its own file Nov 16, 2023
@jakobht jakobht merged commit 5f9eb08 into cadence-workflow:master Nov 17, 2023
16 checks passed
@jakobht jakobht deleted the refactorRatelimit branch November 17, 2023 08:28
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.

2 participants