Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant