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 rate limiter window duration #424

Merged
merged 1 commit into from
Dec 15, 2022

Conversation

douglascamata
Copy link
Contributor

@douglascamata douglascamata commented Dec 15, 2022

Gubernator's duration parameter should be in milliseconds, according to their own documentation: https://github.com/mailgun/gubernator/blob/v1.0.1-rc.1/README.md?plain=1#L41.

Unfortunately I cannot add an e2e test for this right now because:

  • This is is kind of urgent.
  • The e2e tests aren't (yet) arm64 friendly and I work on arm64.
  • To make them arm64 friendly we need to upgrade github.com/efficientgo dependencies (there are breaking changes) and potentially create multi-arch images for other projects in this org. I created Make e2e tests arm64 friendly #423 to track this.

I found the problem and solution by spinning up Gubernator and manually calling the gRPC service.

Gubernator's duration parameter should be in miliseconds, according to their own documentation: https://github.com/mailgun/gubernator/blob/v1.0.1-rc.1/README.md?plain=1#L41.
Copy link
Contributor

@philipgough philipgough left a comment

Choose a reason for hiding this comment

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

lgtm

@squat squat merged commit feb2d1a into observatorium:main Dec 15, 2022
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

3 participants