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: use request headers for controller throtlling #5

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

sebastiendan
Copy link
Member

Description

This PR adds a throttler guard to get the client IP address from request headers if any, so that throttling works with proxying the faucet with a load balancer.

PR Checklist:

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added or updated tests that comprehensively prove my change is effective or that my feature works

@sebastiendan sebastiendan self-assigned this Sep 18, 2023
@sebastiendan sebastiendan merged commit 3297f91 into main Sep 18, 2023
@sebastiendan sebastiendan deleted the fix/use-req-headers-throller branch September 18, 2023 11:01
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.

1 participant