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

add default ip addresses as a fallback mechanism #103

Merged
merged 3 commits into from
Dec 15, 2023
Merged

add default ip addresses as a fallback mechanism #103

merged 3 commits into from
Dec 15, 2023

Conversation

modosc
Copy link
Owner

@modosc modosc commented Dec 11, 2023

(see background conversation in #91)

this pr adds a static list of ip addresses from cloudflare.

whenever api calls to cloudflare fail these ip addresses are used as a fallback. these values are not cached so subsequent requests will continue to trigger cloudflare api calls until one finally succeeds.

this should be safe as a temporary solution - it looks like these values don't change that often.

Copy link

@jclusso jclusso left a comment

Choose a reason for hiding this comment

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

Great – will allow us to remove our code that we added to cover this.

@modosc modosc merged commit e8f2457 into main Dec 15, 2023
2 checks passed
@modosc modosc deleted the default-ips branch December 15, 2023 19:38
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